diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-09 17:29:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-09 17:29:27 +0200 |
commit | ea22643b2217921df74ea14df47d7c83987d5761 (patch) | |
tree | 91480771997be1b7f92f46ee404c266e0f4dcd76 /unit-tests/test/script/parser/driver.cxx | |
parent | 1a9d610051cd48c98fb71a570a0871b4e073cec9 (diff) |
Initial parallel scheduler implementation, use to run testscrips
Diffstat (limited to 'unit-tests/test/script/parser/driver.cxx')
-rw-r--r-- | unit-tests/test/script/parser/driver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx index 83160cb..c116680 100644 --- a/unit-tests/test/script/parser/driver.cxx +++ b/unit-tests/test/script/parser/driver.cxx @@ -10,6 +10,7 @@ #include <build2/target> #include <build2/context> +#include <build2/scheduler> #include <build2/test/target> @@ -136,6 +137,7 @@ namespace build2 tracer trace ("main"); init (argv[0], 1); // Fake build system driver, default verbosity. + sched.startup (1); // Serial execution. reset (strings ()); // No command line variables. bool scope (false); |