Add more information error reporting from tests.
[scons.git] / test / option-v.py
1 #!/usr/bin/env python
2
3 __revision__ = "test/option-v.py __REVISION__ __DATE__ __DEVELOPER__"
4
5 import TestSCons
6 import string
7 import sys
8
9 test = TestSCons.TestSCons()
10
11 test.write('SConstruct', "")
12
13 expect = r"""SCons version \S+, by Steven Knight et al.
14 Copyright 2001 Steven Knight
15 """
16
17 test.run(arguments = '-v', stdout = expect)
18
19 test.run(arguments = '--version', stdout = expect)
20
21 test.pass_test()
22