aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/script/script.cxx5
-rw-r--r--libbuild2/test/script/script.hxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/libbuild2/test/script/script.cxx b/libbuild2/test/script/script.cxx
index 2b99fc2..ed9f2e7 100644
--- a/libbuild2/test/script/script.cxx
+++ b/libbuild2/test/script/script.cxx
@@ -63,7 +63,10 @@ namespace build2
environment (root.test_target.ctx,
test_tt (),
wd_path (), wd_name,
- p != nullptr ? root.work_dir : wd_path (), sd_name),
+ p != nullptr ? root.work_dir : wd_path (), sd_name,
+ redirect (redirect_type::none),
+ redirect (redirect_type::none),
+ redirect (redirect_type::none)),
parent (p),
id_path (cast<path> (assign (root.id_var) = path ()))
{
diff --git a/libbuild2/test/script/script.hxx b/libbuild2/test/script/script.hxx
index e31bf09..163ad65 100644
--- a/libbuild2/test/script/script.hxx
+++ b/libbuild2/test/script/script.hxx
@@ -24,6 +24,8 @@ namespace build2
{
using build2::script::line;
using build2::script::lines;
+ using build2::script::redirect;
+ using build2::script::redirect_type;
using build2::script::line_type;
using build2::script::command_expr;