diff options
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) |