diff options
Diffstat (limited to 'libbuild2/test')
-rw-r--r-- | libbuild2/test/rule.cxx | 2 | ||||
-rw-r--r-- | libbuild2/test/script/parser.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/test/rule.cxx b/libbuild2/test/rule.cxx index 50eb105..61bfba4 100644 --- a/libbuild2/test/rule.cxx +++ b/libbuild2/test/rule.cxx @@ -490,7 +490,7 @@ namespace build2 wait_guard wg; if (!dry_run) - wg = wait_guard (target::count_busy (), t[a].task_count); + wg = wait_guard (t.ctx, target::count_busy (), t[a].task_count); // Result vector. // diff --git a/libbuild2/test/script/parser.cxx b/libbuild2/test/script/parser.cxx index a4aeff2..43c3849 100644 --- a/libbuild2/test/script/parser.cxx +++ b/libbuild2/test/script/parser.cxx @@ -2896,7 +2896,7 @@ namespace build2 if (exec_scope) { atomic_count task_count (0); - wait_guard wg (task_count); + wait_guard wg (g->root.test_target.ctx, task_count); // Start asynchronous execution of inner scopes keeping track of // how many we have handled. |