aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-20 11:38:18 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-20 11:38:18 +0200
commitfb54abb5db748fafe84798b0747957243fbf8db3 (patch)
tree30697034e819adf7c9e2dcc7033cdfef894e2cde
parente960bb63efceaf29fda453a5014601c9947ba66e (diff)
runtest-junitxml: Disable guile warnings about deprecated features
-rwxr-xr-xruntest-junitxml.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtest-junitxml.py b/runtest-junitxml.py
index 460619f..bf9d131 100755
--- a/runtest-junitxml.py
+++ b/runtest-junitxml.py
@@ -49,7 +49,9 @@ def start_testcase(directory, testcase, timeout=0):
signal.signal(signal.SIGALRM, signal_handler)
signal.alarm(timeout)
before = time.time()
- p = Popen([GUILE, '-L', directory, '-c', cmd], stdout=PIPE, stderr=PIPE)
+ my_env = os.environ
+ my_env["GUILE_WARN_DEPRECATED"] = "no"
+ p = Popen([GUILE, '-L', directory, '-c', cmd], env=my_env, stdout=PIPE, stderr=PIPE)
try:
(tc_stdout, tc_stderr) = p.communicate()
returncode = p.returncode