()
| 145 | t.cleanup() |
| 146 | |
| 147 | def test_order2(): |
| 148 | t = BoostBuild.Tester(use_test_config=False) |
| 149 | t.write("jamroot.jam", """ |
| 150 | obj test : test.cpp : <include>b&&a ; |
| 151 | """) |
| 152 | t.write("test.cpp", """ |
| 153 | #include <test.h> |
| 154 | int main() {} |
| 155 | """) |
| 156 | t.write("a/test.h", """ |
| 157 | #error should find b/test.h |
| 158 | """) |
| 159 | t.write("b/test.h", """ |
| 160 | """) |
| 161 | t.run_build_system() |
| 162 | |
| 163 | t.touch("a/test.h") |
| 164 | t.run_build_system() |
| 165 | t.expect_nothing_more() |
| 166 | |
| 167 | t.touch("b/test.h") |
| 168 | t.run_build_system() |
| 169 | t.expect_touch("bin/$toolset/debug/test.obj") |
| 170 | t.expect_nothing_more() |
| 171 | |
| 172 | t.cleanup() |
| 173 | |
| 174 | def test_order_graph(): |
| 175 | t = BoostBuild.Tester(use_test_config=False) |
no test coverage detected