aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-15 12:17:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-15 12:17:44 +0200
commitf4453f3dacef727cfd0fb8f17c47ac3eea367a34 (patch)
treeb0ea119ca8ede6766659b3ffaf6eb8123ccae525 /build2/test/script/parser.cxx
parent9d1f6b5bf5b461ce0aeb9b42b3e1022395f60d84 (diff)
Implement test.redirects, test.cleanups
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r--build2/test/script/parser.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index 6224d24..50d4f67 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -2512,9 +2512,11 @@ namespace build2
// If we changes any of the test.* values, then reset the $*,
// $N special aliases.
//
- if (var.name == script_->test_var.name ||
- var.name == script_->opts_var.name ||
- var.name == script_->args_var.name)
+ if (var.name == script_->test_var.name ||
+ var.name == script_->options_var.name ||
+ var.name == script_->arguments_var.name ||
+ var.name == script_->redirects_var.name ||
+ var.name == script_->cleanups_var.name)
{
scope_->reset_special ();
}