From 0a56fad112fb59b07fa3ea03fe26b41b451ab886 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Oct 2022 12:00:09 +0200 Subject: Update old tests to public/private variable model --- old-tests/variable/override/test.sh | 62 ++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'old-tests/variable/override/test.sh') diff --git a/old-tests/variable/override/test.sh b/old-tests/variable/override/test.sh index 1374e46..fe89c56 100755 --- a/old-tests/variable/override/test.sh +++ b/old-tests/variable/override/test.sh @@ -53,16 +53,16 @@ function test () fi } -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 "p.foo= [string] bar" # error: typed override of variable p.foo +#fail "!p.foo=bar" "!p.foo=BAR" # error: multiple global overrides of variable p.foo +#fail "p.foo=bar" "p.foo=BAR" # error: multiple project overrides of variable p.foo +#fail "%p.foo=bar" "%p.foo=BAR" # error: multiple project overrides of variable p.foo -test --buildfile simple foo=bar ./ ./ <<< "bar" # Multiple bootstraps of the same project. +test --buildfile simple p.foo=bar ./ ./ <<< "bar" # Multiple bootstraps of the same project. # Visibility/qualification. # -test !v=X <