Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | #T commandline: ['CLINEVAR=clineval', 'CLINEVAR2=clineval2'] |
michael@0 | 2 | |
michael@0 | 3 | # this doesn't actually test overrides yet, because they aren't implemented in pymake, |
michael@0 | 4 | # but testing origins in general is important |
michael@0 | 5 | |
michael@0 | 6 | MVAR = mval |
michael@0 | 7 | CLINEVAR = deadbeef |
michael@0 | 8 | |
michael@0 | 9 | override CLINEVAR2 = mval2 |
michael@0 | 10 | |
michael@0 | 11 | all: |
michael@0 | 12 | test "$(origin NOVAR)" = "undefined" |
michael@0 | 13 | test "$(CLINEVAR)" = "clineval" |
michael@0 | 14 | test "$(origin CLINEVAR)" = "command line" |
michael@0 | 15 | test "$(MVAR)" = "mval" |
michael@0 | 16 | test "$(origin MVAR)" = "file" |
michael@0 | 17 | test "$(@)" = "all" |
michael@0 | 18 | test "$(origin @)" = "automatic" |
michael@0 | 19 | test "$(origin CLINEVAR2)" = "override" |
michael@0 | 20 | test "$(CLINEVAR2)" = "mval2" |
michael@0 | 21 | @echo TEST-PASS |