From 06e02ff66f6301cac3b84aff31b5e00fe8c535b1 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 11 Sep 2001 13:28:01 +0000 Subject: [PATCH] Test the long -f options (--file, --makefile, --sconstruct). git-svn-id: http://scons.tigris.org/svn/scons/trunk@41 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/option-f.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/option-f.py b/test/option-f.py index e52532e4..4ea2ee9b 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() -- 2.26.2