mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
28 lines
399 B
Python
28 lines
399 B
Python
#!/usr/bin/python
|
|
|
|
from BoostBuild import Tester
|
|
import os
|
|
from string import strip
|
|
|
|
t = Tester()
|
|
t.set_tree("project-test3")
|
|
|
|
|
|
t.run_build_system()
|
|
|
|
t.expect_addition("bin/a.obj")
|
|
t.expect_content("bin/a.obj",
|
|
"""debug
|
|
a.cpp
|
|
""")
|
|
|
|
t.expect_addition("bin/a.exe")
|
|
t.expect_content("bin/a.exe",
|
|
"""debug
|
|
bin/a.obj
|
|
""")
|
|
|
|
t.touch("a.cpp")
|
|
t.run_build_system()
|
|
t.expect_touch(["bin/a.obj", "bin/a.exe"])
|