From 747ff339c4be7d271a33996638b3b026a166d805 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 17 Dec 2016 11:48:40 +0200 Subject: Don't try to test out-of-project prerequisites --- build2/test/init.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/test/init.cxx') 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&) @@ -105,7 +106,7 @@ namespace build2 // Register our test running rule. // r.insert (perform_test_id, "test", rule_); - r.insert (perform_test_id, "test", rule_); // Override generic. + r.insert (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) -- cgit v1.1