- Fix a TypeError on #include of file names with Unicode characters.
+ - Fix an exception if a null command-line argument is passed in.
+
RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800
"""
Verify that we use a default target of the current directory when there
-are no command-line arguments (and, implicitly, no Default() in the
-SConstruct).
+is no Default() in the SConstruct file and there are no command-line
+arguments, or a null command-line argument.
"""
import os.path
test.write('aaa.in', "aaa.in\n")
+up_to_date = test.wrap_stdout("scons: `.' is up to date.\n")
+
#
test.run()
+test.must_match('aaa.out', "aaa.in\n")
+test.run(stdout=up_to_date)
+
+#
+test.unlink('aaa.out')
+test.must_not_exist('aaa.out')
-test.fail_test(test.read('aaa.out') != "aaa.in\n")
+#
+test.run([''])
+test.must_match('aaa.out', "aaa.in\n")
+test.run([''], stdout=up_to_date)
#
test.pass_test()