mirror of
https://github.com/boostorg/build.git
synced 2026-01-26 06:22:26 +00:00
* BoostBuild.py
(Tester.expect_nothing): New method.
(Tester.run_build_system): Added 'subdir' argument. Take a nap
after running bjam, so that further touches to files are detected.
* test_system.html
Document the above changes. Document earlier changes to List{}.
Fixed typos.
[SVN r13522]
20 lines
455 B
Python
20 lines
455 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)
|
|
|
|
|
|
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()
|
|
|