()
| 118 | tester.cleanup() |
| 119 | |
| 120 | def test_order1(): |
| 121 | t = BoostBuild.Tester(use_test_config=False) |
| 122 | t.write("jamroot.jam", """ |
| 123 | obj test : test.cpp : <include>a&&b ; |
| 124 | """) |
| 125 | t.write("test.cpp", """ |
| 126 | #include <test.h> |
| 127 | int main() {} |
| 128 | """) |
| 129 | t.write("a/test.h", """ |
| 130 | """) |
| 131 | t.write("b/test.h", """ |
| 132 | #error should find a/test.h |
| 133 | """) |
| 134 | t.run_build_system() |
| 135 | |
| 136 | t.touch("a/test.h") |
| 137 | t.run_build_system() |
| 138 | t.expect_touch("bin/$toolset/debug/test.obj") |
| 139 | t.expect_nothing_more() |
| 140 | |
| 141 | t.touch("b/test.h") |
| 142 | t.run_build_system() |
| 143 | t.expect_nothing_more() |
| 144 | |
| 145 | t.cleanup() |
| 146 | |
| 147 | def test_order2(): |
| 148 | t = BoostBuild.Tester(use_test_config=False) |
no test coverage detected