summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'runtest.py')
-rwxr-xr-xruntest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtest.py b/runtest.py
index 45ffffc..9ffe374 100755
--- a/runtest.py
+++ b/runtest.py
@@ -618,6 +618,10 @@ os.environ['SCONS_VERSION'] = version
old_pythonpath = os.environ.get('PYTHONPATH')
+# Clear _JAVA_OPTIONS which java tools output to stderr when run breaking tests
+if '_JAVA_OPTIONS' in os.environ:
+ del os.environ['_JAVA_OPTIONS']
+
# FIXME: the following is necessary to pull in half of the testing
# harness from $srcdir/etc. Those modules should be transfered
# to testing/, in which case this manipulation of PYTHONPATH