()
| 47 | tester.cleanup() |
| 48 | |
| 49 | def test_default_order_mixed(): |
| 50 | tester = BoostBuild.Tester(use_test_config=False) |
| 51 | tester.write("jamroot.jam", """ |
| 52 | |
| 53 | import order ; |
| 54 | import "class" : new ; |
| 55 | |
| 56 | obj test : test.cpp : <include>b <include>a <include>c&&d ; |
| 57 | """) |
| 58 | |
| 59 | tester.write("test.cpp", """ |
| 60 | #include <test.hpp> |
| 61 | int main() { f(); } |
| 62 | """) |
| 63 | |
| 64 | tester.write("a/test.hpp", """ |
| 65 | void f(); |
| 66 | """) |
| 67 | |
| 68 | tester.write("b/test.hpp", """ |
| 69 | """) |
| 70 | |
| 71 | tester.run_build_system() |
| 72 | |
| 73 | tester.expect_addition("bin/$toolset/debug/test.obj") |
| 74 | |
| 75 | # Check that the dependencies are correct |
| 76 | tester.touch("a/test.hpp") |
| 77 | tester.run_build_system() |
| 78 | tester.expect_touch("bin/$toolset/debug/test.obj") |
| 79 | tester.expect_nothing_more() |
| 80 | |
| 81 | tester.touch("b/test.hpp") |
| 82 | tester.run_build_system() |
| 83 | tester.expect_nothing_more() |
| 84 | |
| 85 | tester.cleanup() |
| 86 | |
| 87 | def test_basic(): |
| 88 | tester = BoostBuild.Tester(use_test_config=False) |
no test coverage detected