aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-20 15:16:28 +0200
commit51666badaa58d1cc70a05b362dbf9fbef64a7296 (patch)
tree2919f013c9c1c12c7d31ee0b60eb0fbcb4130558 /libbuild2/test
parentecc0f934eff0443490202b614a73097e75b1e3db (diff)
Add operation callback for adhoc rule match and apply
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/operation.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/test/operation.cxx b/libbuild2/test/operation.cxx
index d06bd7c..e9635cf 100644
--- a/libbuild2/test/operation.cxx
+++ b/libbuild2/test/operation.cxx
@@ -34,6 +34,8 @@ namespace build2
execution_mode::first,
1 /* concurrency */,
&test_pre,
+ nullptr,
+ nullptr,
nullptr
};
@@ -50,7 +52,9 @@ namespace build2
op_update.mode,
op_update.concurrency,
op_update.pre,
- op_update.post
+ op_update.post,
+ op_update.adhoc_match,
+ op_update.adhoc_apply
};
}
}