Last change
on this file since 32 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
731 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | # Copyright 2003 Vladimir Prus |
---|
4 | # Distributed under the Boost Software License, Version 1.0. |
---|
5 | # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) |
---|
6 | |
---|
7 | # Test that V2 does not fail gracelessy when any target is skipped. |
---|
8 | from BoostBuild import Tester, List |
---|
9 | |
---|
10 | # Create a temporary working directory |
---|
11 | t = Tester() |
---|
12 | t.write("a.cpp", """ |
---|
13 | int main() {} |
---|
14 | """) |
---|
15 | |
---|
16 | t.write("b.cpp", """ |
---|
17 | int main() {} |
---|
18 | """) |
---|
19 | |
---|
20 | t.write("c.cpp", """ |
---|
21 | int main() {} |
---|
22 | """) |
---|
23 | |
---|
24 | t.write("Jamfile", """ |
---|
25 | import feature : feature ; |
---|
26 | |
---|
27 | feature foo : 1 2 : link-incompatible ; |
---|
28 | |
---|
29 | exe a : a.cpp : <foo>1 ; |
---|
30 | exe b : b.cpp : <foo>2 ; |
---|
31 | exe c : c.cpp ; |
---|
32 | """) |
---|
33 | |
---|
34 | t.write("project-root.jam", """ |
---|
35 | """) |
---|
36 | |
---|
37 | t.run_build_system("foo=1") |
---|
38 | |
---|
39 | t.cleanup() |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.