summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-11 13:28:01 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-11 13:28:01 (GMT)
commita7f9351f01c37b9f3fe2e2c1ab102511ec8169d2 (patch)
tree6fdaf69694125f095b86a959059aa89d1a238305 /test
parentd9fa9439a4424fce36654c68b39e6866cba502c9 (diff)
downloadSCons-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.py18
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()