diff options
Diffstat (limited to 'libbuild2/test/script/parser.test.cxx')
-rw-r--r-- | libbuild2/test/script/parser.test.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/test/script/parser.test.cxx b/libbuild2/test/script/parser.test.cxx index 56630fe..2eec791 100644 --- a/libbuild2/test/script/parser.test.cxx +++ b/libbuild2/test/script/parser.test.cxx @@ -155,8 +155,12 @@ namespace build2 // init_diag (1); init (nullptr, argv[0]); - scheduler sched (1); // Serial execution. - context ctx (sched); + + // Serial execution. + // + scheduler sched (1); + global_mutex_shards shards (1); + context ctx (sched, shards); bool scope (false); bool id (false); |