Test that "&&" in path features is handled correctly.
()
| 78 | |
| 79 | |
| 80 | def test_ordered_paths(): |
| 81 | """Test that "&&" in path features is handled correctly.""" |
| 82 | |
| 83 | t = BoostBuild.Tester(use_test_config=False) |
| 84 | |
| 85 | t.write("jamroot.jam", "build-project sub ;") |
| 86 | t.write("sub/jamfile.jam", "exe a : a.cpp : <include>../h1&&../h2 ;") |
| 87 | t.write("sub/a.cpp", """\ |
| 88 | #include <header.h> |
| 89 | int main() { return OK; } |
| 90 | """) |
| 91 | t.write("h2/header.h", "int const OK = 0;\n") |
| 92 | t.run_build_system() |
| 93 | t.expect_addition("sub/bin/$toolset/debug/a.exe") |
| 94 | |
| 95 | t.cleanup() |
| 96 | |
| 97 | |
| 98 | def test_paths_set_by_indirect_conditionals(): |
no test coverage detected