projects
/
scons.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a TestSCons module for common initialization of SCons tests.
[scons.git]
/
test
/
option-m.py
1
#!/usr/bin/env python
2
3
__revision__ = "test/option-m.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
test.run(arguments = '-m')
14
15
test.fail_test(test.stderr() !=
16
"Warning: ignoring -m option\n")
17
18
test.pass_test()
19