aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker/worker.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-10-20 12:10:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-10-20 12:10:43 +0300
commitb9456fe43f5b1d534d3345a6c6f84534e11b7fd3 (patch)
treef3fafd992eff531c02f79f443b7508728332e7ea /bbot/worker/worker.cxx
parent29770a9d660f28522a7ef69e60d1ab827781ef2e (diff)
Fix potential confusion for combined log reader
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r--bbot/worker/worker.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 5979ec6..0489822 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -1332,6 +1332,13 @@ build (size_t argc, const char* argv[])
? *test_result
: add_result ("test"));
+ // Noop, just for the log record to reduce the potential confusion for
+ // the combined log reader due to updating the build system module in a
+ // separate configuration (see above for details).
+ //
+ if (module)
+ change_wd (trace, &r.log, current_directory ());
+
// Run internal tests.
//
if (internal_tests)