X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2Foption--W.py;h=9f6fbe4960d87ed4a217aca58326d61b004d8359;hb=ea71206673fe962086e022351d91c5bf4a72fa61;hp=d0bb7a357c14bdaf219f1ef42017fe2ff8323c47;hpb=9b9fa7bbbfee4406177db7d744d3f4fb81113d49;p=scons.git diff --git a/test/option--W.py b/test/option--W.py index d0bb7a35..9f6fbe49 100644 --- a/test/option--W.py +++ b/test/option--W.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (c) 2001 Steven Knight +# __COPYRIGHT__ # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -25,24 +25,28 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import TestSCons -import string -import sys test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-W foo', - stderr = "Warning: the -W option is not yet implemented\n") +test.run(arguments = '-W foo .', + stderr = "Warning: the -W option is not yet implemented\n") -test.run(arguments = '--what-if=foo', - stderr = "Warning: the --what-if option is not yet implemented\n") +test.run(arguments = '--what-if=foo .', + stderr = "Warning: the --what-if option is not yet implemented\n") -test.run(arguments = '--new-file=foo', - stderr = "Warning: the --new-file option is not yet implemented\n") +test.run(arguments = '--new-file=foo .', + stderr = "Warning: the --new-file option is not yet implemented\n") -test.run(arguments = '--assume-new=foo', - stderr = "Warning: the --assume-new option is not yet implemented\n") +test.run(arguments = '--assume-new=foo .', + stderr = "Warning: the --assume-new option is not yet implemented\n") test.pass_test() + +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: