diff options
Diffstat (limited to 'test/Help.py')
-rw-r--r-- | test/Help.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/Help.py b/test/Help.py index ea356ba..d6e71ea 100644 --- a/test/Help.py +++ b/test/Help.py @@ -60,4 +60,26 @@ Use scons -H for help about command-line options. test.run(arguments = '-h', stdout = expect) +test.write('SConstruct', r""" +Help('\nMulti') +Help('line\n') +Help('''\ +help +text! +''') +""") + +expect = """\ +scons: Reading SConscript files ... +scons: done reading SConscript files. + +Multiline +help +text! + +Use scons -H for help about command-line options. +""" + +test.run(arguments = '-h', stdout = expect) + test.pass_test() |