aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-31 21:21:17 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:37 +0200
commit35c9e7698e768883065d944b2c43e5af9cb37ee4 (patch)
treec9a5299b90af3264c95f189c8595a0573d2d0b9f /build2/test/script/parser.cxx
parent4876a5f56c72f64a54627f9b6d0656878b7ca547 (diff)
Update test runner to accommodate cleanup types
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r--build2/test/script/parser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index e3194cb..4c7b17b 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -912,7 +912,8 @@ namespace build2
case pending::clean:
{
- c.cleanups.push_back (parse_path (move (w), "cleanup path"));
+ c.cleanups.push_back (
+ {cleanup_type::always, parse_path (move (w), "cleanup path")});
break;
}
}