@@ -0,0 +1,542 @@
+#!/usr/bin/env python%0A%0A__revision__ = %22test/SConstruct.py __REVISION__ __DATE__ __DEVELOPER__%22%0A%0Aimport TestCmd%0A%0Atest = TestCmd.TestCmd(program = 'scons.py',%0A                       workdir = '',%0A                       interpreter = 'python')%0A%0Awpath = test.workpath()%0A%0Atest.write('SConstruct', r%22%22%22%0AHelp(%22Help text%5Cngoes here.%5Cn%22)%0A%22%22%22)%0A%0Atest.run(chdir = '.', arguments = '-h')%0A%0Atest.fail_test(test.stdout() != %22Help text%5Cngoes here.%5Cn%5CnUse scons -H for help about command-line options.%5Cn%22)%0Atest.fail_test(test.stderr() != %22%22)%0A%0Atest.pass_test()%0A

Add a test for local Help() functionality.