summaryrefslogtreecommitdiffstats
path: root/test/runtest/simple
diff options
context:
space:
mode:
authordirkbaechle <devnull@localhost>2012-08-03 21:45:05 (GMT)
committerdirkbaechle <devnull@localhost>2012-08-03 21:45:05 (GMT)
commit7356cfca325dbd31d7817d374b70158dc76f9a35 (patch)
treea06aec636934dd57fc3f2d1fe48dc01f91a4f946 /test/runtest/simple
parent4d8c8379e1d4c7860a1c1d29b7302b394c920844 (diff)
downloadSCons-7356cfca325dbd31d7817d374b70158dc76f9a35.zip
SCons-7356cfca325dbd31d7817d374b70158dc76f9a35.tar.gz
SCons-7356cfca325dbd31d7817d374b70158dc76f9a35.tar.bz2
- fixed usage of subprocess module in runtest.py
- fixed tests in test/runtest (needed -j option for suppressing the count/percent messages)
Diffstat (limited to 'test/runtest/simple')
-rw-r--r--test/runtest/simple/combined.py2
-rw-r--r--test/runtest/simple/fail.py2
-rw-r--r--test/runtest/simple/no_result.py2
-rw-r--r--test/runtest/simple/pass.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/runtest/simple/combined.py b/test/runtest/simple/combined.py
index 6817820..6e0539a 100644
--- a/test/runtest/simple/combined.py
+++ b/test/runtest/simple/combined.py
@@ -70,7 +70,7 @@ NO RESULT TEST STDERR
PASSING TEST STDERR
"""
-test.run(arguments='test',
+test.run(arguments='-j test',
status=1,
stdout=expect_stdout,
stderr=expect_stderr)
diff --git a/test/runtest/simple/fail.py b/test/runtest/simple/fail.py
index 36ec0d0..d891597 100644
--- a/test/runtest/simple/fail.py
+++ b/test/runtest/simple/fail.py
@@ -47,7 +47,7 @@ expect_stderr = """\
FAILING TEST STDERR
"""
-test.run(arguments='test/fail.py',
+test.run(arguments='-j test/fail.py',
status=1,
stdout=expect_stdout,
stderr=expect_stderr)
diff --git a/test/runtest/simple/no_result.py b/test/runtest/simple/no_result.py
index 97dcede..91ba50c 100644
--- a/test/runtest/simple/no_result.py
+++ b/test/runtest/simple/no_result.py
@@ -47,7 +47,7 @@ expect_stderr = """\
NO RESULT TEST STDERR
"""
-test.run(arguments='test/no_result.py',
+test.run(arguments='-j test/no_result.py',
status=2,
stdout=expect_stdout,
stderr=expect_stderr)
diff --git a/test/runtest/simple/pass.py b/test/runtest/simple/pass.py
index 6332e5f..c954336 100644
--- a/test/runtest/simple/pass.py
+++ b/test/runtest/simple/pass.py
@@ -47,7 +47,7 @@ expect_stderr = """\
PASSING TEST STDERR
"""
-test.run(arguments='test/pass.py', stdout=expect_stdout, stderr=expect_stderr)
+test.run(arguments='-j test/pass.py', stdout=expect_stdout, stderr=expect_stderr)
test.pass_test()