Last change
on this file since 12 was
12,
checked in by landauf, 18 years ago
|
added boost
|
-
Property svn:executable set to
*
|
File size:
860 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | # Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and |
---|
4 | # distribute this software is granted provided this copyright notice appears in |
---|
5 | # all copies. This software is provided "as is" without express or implied |
---|
6 | # warranty, and with no claim as to its suitability for any purpose. |
---|
7 | |
---|
8 | # Test that V2 does not fail gracelessy when any target is skipped. |
---|
9 | from BoostBuild import Tester, List |
---|
10 | |
---|
11 | # Create a temporary working directory |
---|
12 | t = Tester() |
---|
13 | t.write("a.cpp", """ |
---|
14 | int main() {} |
---|
15 | """) |
---|
16 | |
---|
17 | t.write("b.cpp", """ |
---|
18 | int main() {} |
---|
19 | """) |
---|
20 | |
---|
21 | t.write("c.cpp", """ |
---|
22 | int main() {} |
---|
23 | """) |
---|
24 | |
---|
25 | t.write("Jamfile", """ |
---|
26 | import feature : feature ; |
---|
27 | |
---|
28 | feature foo : 1 2 : link-incompatible ; |
---|
29 | |
---|
30 | exe a : a.cpp : <foo>1 ; |
---|
31 | exe b : b.cpp : <foo>2 ; |
---|
32 | exe c : c.cpp ; |
---|
33 | """) |
---|
34 | |
---|
35 | t.write("project-root.jam", """ |
---|
36 | """) |
---|
37 | |
---|
38 | t.run_build_system("foo=1") |
---|
39 | |
---|
40 | t.cleanup() |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.