aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/test/rule.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 455da7a..975d19f 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -44,6 +44,10 @@ namespace build2
// (and this is tricky) the rule also changes the operation to
// unconditional update to make sure it doesn't match any prerequisites
// (which, if not testable, it will noop).
+ //
+ // And to add a bit more complexity, we want to handle aliases slightly
+ // differently: we don't want to ignore their prerequisites if the alias
+ // is not testable since their prerequisites could be.
match_data md;