summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordirkbaechle <7462537+dirkbaechle@users.noreply.github.com>2015-04-05 10:19:20 (GMT)
committerdirkbaechle <7462537+dirkbaechle@users.noreply.github.com>2015-04-05 10:19:20 (GMT)
commitea8c16f82ca4f96c29ba4253b4d58ead48e6b8bf (patch)
tree1f7b9712478baac619af7ef11567b3d4c0980041
parent35f5309e2c1ebf6d67fb3faaa0399e0bb48c4096 (diff)
parent71f3afac1959c9e7c2f1e0da4f449ac479f56807 (diff)
downloadSCons-ea8c16f82ca4f96c29ba4253b4d58ead48e6b8bf.zip
SCons-ea8c16f82ca4f96c29ba4253b4d58ead48e6b8bf.tar.gz
SCons-ea8c16f82ca4f96c29ba4253b4d58ead48e6b8bf.tar.bz2
Merged in williamblevins/scons_20150323 (pull request #229)
Updated debug-count test case.
-rw-r--r--test/option/debug-count.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/option/debug-count.py b/test/option/debug-count.py
index 3f8a23c..39c1222 100644
--- a/test/option/debug-count.py
+++ b/test/option/debug-count.py
@@ -28,6 +28,7 @@ Test that the --debug=count option works.
"""
import re
+import sys
import TestSCons
@@ -85,11 +86,13 @@ scons: warning: --debug=count is not supported when running SCons
\twith the python -O option or optimized \\(.pyo\\) modules.
""" + TestSCons.file_expr
-test.run(arguments = '--debug=count -h',
- interpreter = ['python', '-O'],
- stderr = expect_warning,
- match = TestSCons.match_re)
-
+test.run(
+ arguments = '--debug=count -h',
+ # Test against current interpreter vs default path option.
+ interpreter = [ sys.executable, '-O' ],
+ stderr = expect_warning,
+ match = TestSCons.match_re
+)
test.pass_test()