- Enhance the tests to guarantee persistence of ListOption
values in saved options files.
+ - Supply the help text when -h is used with the -u, -U or -D options.
+
From Christian Neeb:
- Fix the Java parser's handling of string definitions to avoid ignoring
test = TestSCons.TestSCons()
test.run(arguments = '-h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+
+test.run(arguments = '-u -h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+
+test.run(arguments = '-U -h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+test.run(arguments = '-D -h')
test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
test.write('SConstruct', "")
test.run(arguments = '-h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+
+test.run(arguments = '-u -h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+
+test.run(arguments = '-U -h')
+test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
+test.run(arguments = '-D -h')
test.fail_test(string.find(test.stdout(), '-h, --help') == -1)
test.pass_test()
-