2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00
Files
build/test/test2.py
Dave Abrahams 31eb4b7e09 Use new List niceties
[SVN r13497]
2002-04-15 18:05:58 +00:00

21 lines
464 B
Python

#!/usr/bin/python
from BoostBuild import Tester, List
from time import sleep
t = Tester()
t.set_tree("test2")
t.run_build_system("-sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
file_list = 'bin/foo/gcc/debug/runtime-link-dynamic/' * List("foo foo.o")
t.expect_addition(file_list)
sleep(2)
t.write("foo.cpp", "int main(int, char**) {}\n")
t.run_build_system("-d2 -sBOOST_BUILD_PATH=" + t.original_workdir + "/..")
t.expect_touch(file_list)
t.pass_test()