aboutsummaryrefslogtreecommitdiff
path: root/old-tests/variable/override/test.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-03-14 17:20:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-03-14 17:20:02 +0200
commite20a351013745e8d6c3a0a99bd40c172ed0ae8be (patch)
treeb0e6d24dbc097c2001e6bb4b0c0357bcb83bdc72 /old-tests/variable/override/test.sh
parentd1b3ad7b302d037c8154bab9c4810d499c0bf1e4 (diff)
Add support for multiple variable overrides
Now we can do: $ b config.cxx.coptions=-O3 config.cxx.coptions=-O0 Or even: $ b config.cxx.coptions=-O3 config.cxx.coptions+=-g
Diffstat (limited to 'old-tests/variable/override/test.sh')
-rwxr-xr-xold-tests/variable/override/test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/old-tests/variable/override/test.sh b/old-tests/variable/override/test.sh
index baef1ca..94ed61f 100755
--- a/old-tests/variable/override/test.sh
+++ b/old-tests/variable/override/test.sh
@@ -55,9 +55,9 @@ function test ()
fail foo=bar[] # error: unexpected [ in variable assignment 'foo=bar[]'
fail foo=[string]bar # error: typed override of variable foo
-fail "!foo=bar" "!foo=BAR" # error: multiple global overrides of variable foo
-fail "foo=bar" "foo=BAR" # error: multiple project overrides of variable foo
-fail "%foo=bar" "%foo=BAR" # error: multiple project overrides of variable foo
+#fail "!foo=bar" "!foo=BAR" # error: multiple global overrides of variable foo
+#fail "foo=bar" "foo=BAR" # error: multiple project overrides of variable foo
+#fail "%foo=bar" "%foo=BAR" # error: multiple project overrides of variable foo
test --buildfile simple foo=bar ./ ./ <<< "bar" # Multiple bootstraps of the same project.