aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-08 13:35:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-08 16:12:59 +0300
commit6e1f59670b7aaabb27830a345aad9532af111016 (patch)
tree8346d96f67244a99f6c945cb427cc13ea9299c73 /build2/test/rule.cxx
parentee49a8c2a3dbe88c625599a750c9219e3118b008 (diff)
Get rid of faulty test script move-ctor
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r--build2/test/rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 487856b..089f560 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -424,7 +424,8 @@ namespace build2
text << "test " << t << " with " << ts;
script::parser p;
- script::script s (p.pre_parse (ts, t, wd));
+ script::script s (t, ts, wd);
+ p.pre_parse (s);
script::concurrent_runner r;
p.parse (s, r);