()
| 85 | tester.cleanup() |
| 86 | |
| 87 | def test_basic(): |
| 88 | tester = BoostBuild.Tester(use_test_config=False) |
| 89 | tester.write("jamroot.jam", """ |
| 90 | obj test : test.cpp : <include>a&&b ; |
| 91 | """) |
| 92 | |
| 93 | tester.write("test.cpp", """ |
| 94 | #include <test1.hpp> |
| 95 | #include <test2.hpp> |
| 96 | int main() {} |
| 97 | """) |
| 98 | |
| 99 | tester.write("a/test1.hpp", """ |
| 100 | """) |
| 101 | |
| 102 | tester.write("b/test2.hpp", """ |
| 103 | """) |
| 104 | |
| 105 | tester.run_build_system() |
| 106 | |
| 107 | tester.expect_addition("bin/$toolset/debug/test.obj") |
| 108 | |
| 109 | # Check that the dependencies are correct |
| 110 | tester.touch("a/test1.hpp") |
| 111 | tester.run_build_system() |
| 112 | tester.expect_touch("bin/$toolset/debug/test.obj") |
| 113 | |
| 114 | tester.touch("b/test2.hpp") |
| 115 | tester.run_build_system() |
| 116 | tester.expect_touch("bin/$toolset/debug/test.obj") |
| 117 | |
| 118 | tester.cleanup() |
| 119 | |
| 120 | def test_order1(): |
| 121 | t = BoostBuild.Tester(use_test_config=False) |
no test coverage detected