summaryrefslogtreecommitdiff
path: root/build/pymake/tests/unexport.mk
blob: 424411603496db0b9cd63a6563adb234c1d38c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#T environment: {'ENVVAR': 'envval'}

VAR1 = val1
VAR2 = val2
VAR3 = val3

unexport VAR3
export VAR1 VAR2 VAR3
unexport VAR2 ENVVAR
unexport

all:
	test "$(ENVVAR)" = "envval" # unexport.mk
	$(MAKE) -f $(TESTPATH)/unexport.submk
	@echo TEST-PASS