Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/test/loop.py @ 32

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