From 0d5e9640312445c63c66ab0144e97d19e644e9bc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Oct 2017 10:52:52 +0200 Subject: Assign "step id" to each step in "worker script" --- bbot/worker/worker.cxx | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 1efeaf1..42811df 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -289,6 +289,8 @@ build (size_t argc, const char* argv[]) // bpkg create // + // bpkg.configure.create + // r.status |= run_bpkg (trace, r.log, wre, "create", "-d", build_dir.string (), @@ -302,6 +304,8 @@ build (size_t argc, const char* argv[]) // bpkg add // + // bpkg.configure.add + // r.status |= run_bpkg (trace, r.log, wre, "add", tm.repository.string ()); if (!r.status) @@ -309,6 +313,8 @@ build (size_t argc, const char* argv[]) // bpkg fetch // + // bpkg.configure.fetch + // string t ("--trust-no"); cstrings ts; @@ -330,12 +336,13 @@ build (size_t argc, const char* argv[]) // bpkg build --configure-only / // + // bpkg.configure.build + // r.status |= run_bpkg (trace, r.log, wre, "build", "--configure-only", "--yes", tm.name + '/' + tm.version.string ()); - if (!r.status) break; @@ -349,6 +356,8 @@ build (size_t argc, const char* argv[]) // bpkg update // + // bpkg.update.update + // r.status |= run_bpkg (trace, r.log, wre, "update", tm.name); if (!r.status) @@ -364,6 +373,8 @@ build (size_t argc, const char* argv[]) // bpkg test // + // bpkg.test.test + // r.status |= run_bpkg (trace, r.log, wre, "test", tm.name); if (!r.status) @@ -419,6 +430,8 @@ build (size_t argc, const char* argv[]) // bpkg install // + // bpkg.install.install + // r.status |= run_bpkg (trace, r.log, wre, "install", tm.name); if (!r.status) @@ -466,6 +479,8 @@ build (size_t argc, const char* argv[]) // b create(, ) // + // b.test-installed.create + // // Amalgamation directory that will contain configuration subdirectory // for package tests out of source tree build. // @@ -501,6 +516,8 @@ build (size_t argc, const char* argv[]) // b configure(@) // + // b.test-installed.configure + // dir_path tests_out_dir (out_dir / dir_path ("tests")); r.status |= run_b (trace, r.log, wre, @@ -516,6 +533,8 @@ build (size_t argc, const char* argv[]) // b test() // + // b.test-installed.test + // r.status |= run_b (trace, r.log, wre, envvars, "test(" + tests_out_dir.representation () + ')'); @@ -535,6 +554,8 @@ build (size_t argc, const char* argv[]) // bpkg uninstall // + // bpkg.uninstall.uninstall + // r.status |= run_bpkg (trace, r.log, wre, "uninstall", tm.name); if (!r.status) -- cgit v1.1