Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/test/test2.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: 693 bytes
Line 
1#!/usr/bin/python
2
3# Copyright 2002, 2003 Dave Abrahams
4# Copyright 2002, 2003 Vladimir Prus
5# Distributed under the Boost Software License, Version 1.0.
6# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7
8from BoostBuild import Tester, List
9from time import sleep
10
11t = Tester()
12
13t.set_tree("test2")
14t.run_build_system("-sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
15
16file_list = 'bin/foo/$toolset/debug/runtime-link-dynamic/' * List("foo foo.o")
17t.expect_addition(file_list)
18
19
20t.write("foo.cpp", "int main(int, char**) { return 0; }\n")
21t.run_build_system("-d2 -sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
22t.expect_touch(file_list)
23t.pass_test()
24
Note: See TracBrowser for help on using the repository browser.