From 759e714238438cccf74f035e1ba11c925b27cd55 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jan 2018 16:04:39 +0200 Subject: Load config.build in init(), not boot() We now make sure the config module is init'ed first. --- build2/test/init.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build2/test/init.cxx') diff --git a/build2/test/init.cxx b/build2/test/init.cxx index 1c7a2b4..6119ae0 100644 --- a/build2/test/init.cxx +++ b/build2/test/init.cxx @@ -22,7 +22,7 @@ namespace build2 { namespace test { - void + bool boot (scope& rs, const location&, unique_ptr&) { tracer trace ("test::boot"); @@ -84,6 +84,8 @@ namespace build2 if (!v || v.empty ()) v = cast ((*global_scope)["build.host"]); } + + return false; } bool -- cgit v1.1