diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-17 11:48:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-17 11:48:40 +0200 |
commit | 747ff339c4be7d271a33996638b3b026a166d805 (patch) | |
tree | 3ffd726a68ca8b7125fecdf4be8f87e1afeee99d /build2/test/init.cxx | |
parent | a21902d3764aa64f1579f1b1bf2831789890d0da (diff) |
Don't try to test out-of-project prerequisites
Diffstat (limited to 'build2/test/init.cxx')
-rw-r--r-- | build2/test/init.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/init.cxx b/build2/test/init.cxx index 098718b..21a6612 100644 --- a/build2/test/init.cxx +++ b/build2/test/init.cxx @@ -21,6 +21,7 @@ namespace build2 namespace test { static rule rule_; + static alias_rule alias_rule_; void boot (scope& rs, const location&, unique_ptr<module_base>&) @@ -105,7 +106,7 @@ namespace build2 // Register our test running rule. // r.insert<target> (perform_test_id, "test", rule_); - r.insert<alias> (perform_test_id, "test", rule_); // Override generic. + r.insert<alias> (perform_test_id, "test", alias_rule_); // Register our rule for the dist meta-operation. We need to do this // because we may have ad hoc prerequisites (test input/output files) |