blob: 7240b9651c40b44333f5d75a1d216370280fb03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestCmd
import TestSCons
import string
import sys
test = TestSCons.TestSCons(match = TestCmd.match_re)
test.write('SConstruct', "")
test.run(arguments = '-Z',
stderr = '\nSCons error: option -Z not recognized\nFile "\S+", line \d+, in short_has_arg\n')
test.run(arguments = '--ZizzerZazzerZuzz',
stderr = '\nSCons error: option --ZizzerZazzerZuzz not recognized\nFile "\S+", line \d+, in long_has_args\n')
test.pass_test()
|