aboutsummaryrefslogtreecommitdiff
path: root/build2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:20:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:22:07 +0200
commitf11d720f2fb62b46ad17d3aa3850140a4839f114 (patch)
tree7b077efc16b0362283e1857cf974090ee4ce8f26 /build2/test
parent08688bfc12a42a0399bcbdd6fe7d30d8f2486775 (diff)
Implement info meta operation
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
Diffstat (limited to 'build2/test')
-rw-r--r--build2/test/init.cxx2
-rw-r--r--build2/test/operation.cxx2
-rw-r--r--build2/test/operation.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/build2/test/init.cxx b/build2/test/init.cxx
index 93ca1e4..1c7a2b4 100644
--- a/build2/test/init.cxx
+++ b/build2/test/init.cxx
@@ -31,7 +31,7 @@ namespace build2
// Register the test operation.
//
- rs.operations.insert (test_id, test);
+ rs.operations.insert (test_id, op_test);
// Enter module variables. Do it during boot in case they get assigned
// in bootstrap.build.
diff --git a/build2/test/operation.cxx b/build2/test/operation.cxx
index 46b9366..e4591e4 100644
--- a/build2/test/operation.cxx
+++ b/build2/test/operation.cxx
@@ -22,7 +22,7 @@ namespace build2
return mo != disfigure_id ? update_id : 0;
}
- const operation_info test {
+ const operation_info op_test {
test_id,
"test",
"test",
diff --git a/build2/test/operation.hxx b/build2/test/operation.hxx
index d834edf..774e8d0 100644
--- a/build2/test/operation.hxx
+++ b/build2/test/operation.hxx
@@ -14,7 +14,7 @@ namespace build2
{
namespace test
{
- extern const operation_info test;
+ extern const operation_info op_test;
}
}