aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-17 11:48:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-17 11:48:40 +0200
commit747ff339c4be7d271a33996638b3b026a166d805 (patch)
tree3ffd726a68ca8b7125fecdf4be8f87e1afeee99d /build2/test/rule
parenta21902d3764aa64f1579f1b1bf2831789890d0da (diff)
Don't try to test out-of-project prerequisites
Diffstat (limited to 'build2/test/rule')
-rw-r--r--build2/test/rule10
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/test/rule b/build2/test/rule
index b915ea7..d1790e0 100644
--- a/build2/test/rule
+++ b/build2/test/rule
@@ -30,6 +30,16 @@ namespace build2
static target_state
perform_test (action, target&);
};
+
+ class alias_rule: public rule
+ {
+ public:
+ virtual recipe
+ apply (action, target&) const override;
+
+ static target_state
+ perform_test (action, target&);
+ };
}
}