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:
633 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 | from BoostBuild import Tester, List |
---|
8 | from string import find |
---|
9 | |
---|
10 | t = Tester() |
---|
11 | |
---|
12 | |
---|
13 | t.write("project-root.jam", "") |
---|
14 | t.write("Jamfile", """ |
---|
15 | |
---|
16 | lib main : main.cpp l ; |
---|
17 | lib l : l.cpp main ; |
---|
18 | """) |
---|
19 | |
---|
20 | t.write("main.cpp", "") |
---|
21 | t.write("l.cpp", "") |
---|
22 | |
---|
23 | t.run_build_system("--no-error-backtrace", status=1) |
---|
24 | t.fail_test(find(t.stdout(), "error: Recursion in main target references") == -1) |
---|
25 | t.fail_test(find(t.stdout(), "./main ./l ./main") == -1) |
---|
26 | |
---|
27 | t.cleanup() |
---|
Note: See
TracBrowser
for help on using the repository browser.