aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/worker/worker.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 1911fb0..79aac43 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -1215,7 +1215,7 @@ build (size_t argc, const char* argv[])
// Query the project's build system information with `b info`.
//
auto prj_info = [&trace] (const dir_path& d,
- bool ext_mods,
+ b_info_flags fl,
const char* what)
{
// Note that the `b info` diagnostics won't be copied into any of the
@@ -1226,7 +1226,7 @@ build (size_t argc, const char* argv[])
//
try
{
- return b_info (d, ext_mods, verb, trace);
+ return b_info (d, fl, verb, trace);
}
catch (const b_error& e)
{
@@ -2727,7 +2727,10 @@ build (size_t argc, const char* argv[])
// Test the main package.
//
- b_project_info prj (prj_info (pkg_dir, true /* ext_mods */, "project"));
+ b_project_info prj (
+ prj_info (pkg_dir,
+ b_info_flags::ext_mods | b_info_flags::subprojects,
+ "project"));
// Run the internal tests if the test operation is supported by the
// project but only for the target package or if the configuration is
@@ -2873,7 +2876,7 @@ build (size_t argc, const char* argv[])
// for the package.
//
b_project_info si (prj_info (pkg_dir / sp.path,
- true /* ext_mods */,
+ b_info_flags::ext_mods,
"subproject"));
const strings& ops (si.operations);