aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r--build2/test/rule.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index b21f0c3..4225d24 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -498,20 +498,20 @@ namespace build2
if (!sched.async (target::count_busy (),
t[a].task_count,
- [this] (scope_state& r,
+ [this] (const diag_frame* ds,
+ scope_state& r,
const target& t,
const testscript& ts,
- const dir_path& wd,
- const diag_frame* ds)
+ const dir_path& wd)
{
- diag_frame df (ds);
+ diag_frame::stack_guard dsg (ds);
r = perform_script_impl (t, ts, wd, *this);
},
+ diag_frame::stack,
ref (r),
cref (t),
cref (ts),
- cref (wd),
- diag_frame::stack))
+ cref (wd)))
{
// Executed synchronously. If failed and we were not asked to keep
// going, bail out.