diff options
author | dirkbaechle <devnull@localhost> | 2012-08-09 21:56:44 (GMT) |
---|---|---|
committer | dirkbaechle <devnull@localhost> | 2012-08-09 21:56:44 (GMT) |
commit | 780d9ca6577e5a15b4d4cfad111b74132c255be1 (patch) | |
tree | 5696b9fa594e2b3a56161afede1ebcd92ee5c1e0 /test/runtest/baseline | |
parent | 1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9 (diff) | |
download | SCons-780d9ca6577e5a15b4d4cfad111b74132c255be1.zip SCons-780d9ca6577e5a15b4d4cfad111b74132c255be1.tar.gz SCons-780d9ca6577e5a15b4d4cfad111b74132c255be1.tar.bz2 |
- renamed the '-j' option to '-k', such that we can use the former for parallel processing later on
- changed list(map()) to list comprehensions
- removed try/except block around os.environ.get() for SCONS_EXTERNAL_TEST
- fixed a potential deadlock for subprocess.Popen by using temporary files
- added the '--nopipefiles' option to switch off this temp file fix (not recommended though)
Diffstat (limited to 'test/runtest/baseline')
-rw-r--r-- | test/runtest/baseline/combined.py | 2 | ||||
-rw-r--r-- | test/runtest/baseline/fail.py | 2 | ||||
-rw-r--r-- | test/runtest/baseline/no_result.py | 2 | ||||
-rw-r--r-- | test/runtest/baseline/pass.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/runtest/baseline/combined.py b/test/runtest/baseline/combined.py index 1983ae0..35c1796 100644 --- a/test/runtest/baseline/combined.py +++ b/test/runtest/baseline/combined.py @@ -69,7 +69,7 @@ NO RESULT TEST STDERR PASSING TEST STDERR """ -test.run(arguments='-j -b . test', +test.run(arguments='-k -b . test', status=1, stdout=expect_stdout, stderr=expect_stderr) diff --git a/test/runtest/baseline/fail.py b/test/runtest/baseline/fail.py index a96ba80..5687160 100644 --- a/test/runtest/baseline/fail.py +++ b/test/runtest/baseline/fail.py @@ -47,7 +47,7 @@ expect_stderr = """\ FAILING TEST STDERR """ -test.run(arguments='-j -b . test/fail.py', +test.run(arguments='-k -b . test/fail.py', status=1, stdout=expect_stdout, stderr=expect_stderr) diff --git a/test/runtest/baseline/no_result.py b/test/runtest/baseline/no_result.py index 7a07c01..2149594 100644 --- a/test/runtest/baseline/no_result.py +++ b/test/runtest/baseline/no_result.py @@ -47,7 +47,7 @@ expect_stderr = """\ NO RESULT TEST STDERR """ -test.run(arguments='-j -b . test/no_result.py', +test.run(arguments='-k -b . test/no_result.py', status=2, stdout=expect_stdout, stderr=expect_stderr) diff --git a/test/runtest/baseline/pass.py b/test/runtest/baseline/pass.py index bcd87d7..affa486 100644 --- a/test/runtest/baseline/pass.py +++ b/test/runtest/baseline/pass.py @@ -50,7 +50,7 @@ expect_stderr = """\ PASSING TEST STDERR """ -test.run(arguments='-j -b . test', +test.run(arguments='-k -b . test', stdout=expect_stdout, stderr=expect_stderr) |