From f4453f3dacef727cfd0fb8f17c47ac3eea367a34 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Dec 2016 12:17:44 +0200 Subject: Implement test.redirects, test.cleanups --- build2/test/script/parser.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build2/test/script/parser.cxx') 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 (); } -- cgit v1.1