diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-07 15:48:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-07 16:52:55 +0200 |
commit | 968d8a7acd6c23078a3ea6936c03be0b45523227 (patch) | |
tree | d7da843d0961b649ff93f6f299b9ce65b1255003 /build2/test/operation.cxx | |
parent | 378b2598a305d4e332e52460ca89dd867546a58b (diff) |
Add support for update-for-{test,install} operation aliases
Diffstat (limited to 'build2/test/operation.cxx')
-rw-r--r-- | build2/test/operation.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build2/test/operation.cxx b/build2/test/operation.cxx index e4591e4..7c968ff 100644 --- a/build2/test/operation.cxx +++ b/build2/test/operation.cxx @@ -24,6 +24,7 @@ namespace build2 const operation_info op_test { test_id, + 0, "test", "test", "testing", @@ -34,5 +35,21 @@ namespace build2 &test_pre, nullptr }; + + // Also the explicit update-for-test operation alias. + // + const operation_info op_update_for_test { + update_id, // Note: not update_for_test_id. + test_id, + op_update.name, + op_update.name_do, + op_update.name_doing, + op_update.name_did, + op_update.name_done, + op_update.mode, + op_update.concurrency, + op_update.pre, + op_update.post + }; } } |