diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-05-10 23:38:54 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2020-05-10 23:38:54 (GMT) |
commit | 28646db896c6275bb031c1a711d0dfb6c878d904 (patch) | |
tree | a6abc4606f97f49b930ccb0d3866c0cabcd375e2 /test/runtest | |
parent | a09f25ea44c68afa5953e474c974f6d2859abd0c (diff) | |
download | SCons-28646db896c6275bb031c1a711d0dfb6c878d904.zip SCons-28646db896c6275bb031c1a711d0dfb6c878d904.tar.gz SCons-28646db896c6275bb031c1a711d0dfb6c878d904.tar.bz2 |
change runtest test to look for SCons and not src
Diffstat (limited to 'test/runtest')
-rw-r--r-- | test/runtest/SCons.py (renamed from test/runtest/src.py) | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/runtest/src.py b/test/runtest/SCons.py index cbce2bd..9bc86e8 100644 --- a/test/runtest/src.py +++ b/test/runtest/SCons.py @@ -25,7 +25,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" """ -Verify that we find tests under the src/ tree only if they end +Verify that we find tests under the SCons/ tree only if they end with *Tests.py. """ @@ -35,21 +35,21 @@ import TestRuntest test = TestRuntest.TestRuntest() -test.subdir(['src'], - ['src', 'suite']) +test.subdir(['SCons'], + ['SCons', 'suite']) pythonstring = TestRuntest.pythonstring pythonflags = TestRuntest.pythonflags -src_passTests_py = os.path.join('src', 'passTests.py') -src_suite_passTests_py = os.path.join('src', 'suite', 'passTests.py') +src_passTests_py = os.path.join('SCons', 'passTests.py') +src_suite_passTests_py = os.path.join('SCons', 'suite', 'passTests.py') -test.write_passing_test(['src', 'pass.py']) +test.write_passing_test(['SCons', 'pass.py']) -test.write_passing_test(['src', 'passTests.py']) +test.write_passing_test(['SCons', 'passTests.py']) -test.write_passing_test(['src', 'suite', 'pass.py']) +test.write_passing_test(['SCons', 'suite', 'pass.py']) -test.write_passing_test(['src', 'suite', 'passTests.py']) +test.write_passing_test(['SCons', 'suite', 'passTests.py']) expect_stdout = """\ %(pythonstring)s%(pythonflags)s %(src_passTests_py)s @@ -63,7 +63,7 @@ PASSING TEST STDERR PASSING TEST STDERR """ % locals() -test.run(arguments='-k src', stdout=expect_stdout, stderr=expect_stderr) +test.run(arguments='-k SCons', stdout=expect_stdout, stderr=expect_stderr) test.pass_test() |