diff options
author | Steven Knight <knight@baldmt.com> | 2001-10-28 11:52:08 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-10-28 11:52:08 +0000 |
commit | e5410ac77d8740375b43cb154bedf7219279bf67 (patch) | |
tree | 75228cd5740c78a3a2e096e5f44b07e85d2e5d54 /test/option--.py | |
parent | a140305276c1dc47997c54a76e5b586b1f82b4fb (diff) | |
download | scons-e5410ac77d8740375b43cb154bedf7219279bf67.tar.gz |
Fix a number of small problems in tests.
Diffstat (limited to 'test/option--.py')
-rw-r--r-- | test/option--.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/option--.py b/test/option--.py index 9fca2bd9..5370488b 100644 --- a/test/option--.py +++ b/test/option--.py @@ -48,9 +48,13 @@ env.MyBuild(target = '-f1.out', source = 'f1.in') env.MyBuild(target = '-f2.out', source = 'f2.in') """ % python) +test.write('f1.in', "f1.in\n") +test.write('f2.in', "f2.in\n") + expect = "%s build.py -f1.out\n%s build.py -f2.out\n" % (python, python) test.run(arguments = '-- -f1.out -f2.out', stdout = expect) + test.fail_test(not os.path.exists(test.workpath('-f1.out'))) test.fail_test(not os.path.exists(test.workpath('-f2.out'))) |