diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-11 13:28:01 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-11 13:28:01 (GMT) |
commit | a7f9351f01c37b9f3fe2e2c1ab102511ec8169d2 (patch) | |
tree | 6fdaf69694125f095b86a959059aa89d1a238305 /test | |
parent | d9fa9439a4424fce36654c68b39e6866cba502c9 (diff) | |
download | SCons-a7f9351f01c37b9f3fe2e2c1ab102511ec8169d2.zip SCons-a7f9351f01c37b9f3fe2e2c1ab102511ec8169d2.tar.gz SCons-a7f9351f01c37b9f3fe2e2c1ab102511ec8169d2.tar.bz2 |
Test the long -f options (--file, --makefile, --sconstruct).
Diffstat (limited to 'test')
-rw-r--r-- | test/option-f.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/option-f.py b/test/option-f.py index e52532e..4ea2ee9 100644 --- a/test/option-f.py +++ b/test/option-f.py @@ -31,4 +31,22 @@ test.fail_test(test.stdout() != ("SConscript %s\n" % wpath)) test.run(chdir = '.', arguments = '-f ' + subdir_BuildThis) test.fail_test(test.stdout() != ("subdir/BuildThis %s\n" % wpath)) +test.run(chdir = '.', arguments = '--file=SConscript') +test.fail_test(test.stdout() != ("SConscript %s\n" % wpath)) + +test.run(chdir = '.', arguments = '--file=' + subdir_BuildThis) +test.fail_test(test.stdout() != ("subdir/BuildThis %s\n" % wpath)) + +test.run(chdir = '.', arguments = '--makefile=SConscript') +test.fail_test(test.stdout() != ("SConscript %s\n" % wpath)) + +test.run(chdir = '.', arguments = '--makefile=' + subdir_BuildThis) +test.fail_test(test.stdout() != ("subdir/BuildThis %s\n" % wpath)) + +test.run(chdir = '.', arguments = '--sconstruct=SConscript') +test.fail_test(test.stdout() != ("SConscript %s\n" % wpath)) + +test.run(chdir = '.', arguments = '--sconstruct=' + subdir_BuildThis) +test.fail_test(test.stdout() != ("subdir/BuildThis %s\n" % wpath)) + test.pass_test() |