aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/b.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 5ef9062..347b94a 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -1047,6 +1047,16 @@ main (int argc, char* argv[])
//
bootstrap_pre (rs, altn);
bootstrap_src (rs, altn);
+
+ // If this is a simple project, then implicitly load the test and
+ // install modules.
+ //
+ if (rs.root_extra->project == nullptr)
+ {
+ boot_module (rs, "test", location ());
+ boot_module (rs, "install", location ());
+ }
+
// bootstrap_post() delayed until after create_bootstrap_outer().
}
else