summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-10 18:48:55 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-10 18:48:55 (GMT)
commit528c2bf71dd1d45f158f15b015a382dbac7a34df (patch)
treecc5b14cb56324b56ef7d45fb4a4998820e4861ea /test
parent9010e91ac2831db0ff7f58d209c8f54a7f807afa (diff)
downloadSCons-528c2bf71dd1d45f158f15b015a382dbac7a34df.zip
SCons-528c2bf71dd1d45f158f15b015a382dbac7a34df.tar.gz
SCons-528c2bf71dd1d45f158f15b015a382dbac7a34df.tar.bz2
Fill in the -v option.
Diffstat (limited to 'test')
-rw-r--r--test/option-v.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/option-v.py b/test/option-v.py
index 6e7ca07..02b8f2c 100644
--- a/test/option-v.py
+++ b/test/option-v.py
@@ -14,13 +14,17 @@ test.write('SConstruct', "")
test.run(chdir = '.', arguments = '-v')
-test.fail_test(test.stderr() !=
- "Warning: the -v option is not yet implemented\n")
+expect = r"""SCons version \S+, by Steven Knight et al.
+Copyright 2001 Steven Knight
+"""
+
+test.fail_test(not test.match_re(test.stdout(), expect))
+test.fail_test(test.stderr() != "")
test.run(chdir = '.', arguments = '--version')
-test.fail_test(test.stderr() !=
- "Warning: the --version option is not yet implemented\n")
+test.fail_test(not test.match_re(test.stdout(), expect))
+test.fail_test(test.stderr() != "")
test.pass_test()