summaryrefslogtreecommitdiff
path: root/python/pymake/tests/escape-chars.mk
blob: ebea330743c30b88140583cfaf4ce18a82717c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
space = $(NULL) $(NULL)
hello$(space)world$(space) = hellovalue

A = aval

VAR = value1\\
VARAWFUL = value1\\#comment
VAR2 = value2
VAR3 = test\$A
VAR4 = value4\\value5

VAR5 = value1\\ \  \
	value2

EPERCENT = \%

all:
	test "$(hello world )" = "hellovalue"
	test "$(VAR)" = "value1\\"
	test '$(VARAWFUL)' = 'value1\'
	test "$(VAR2)" = "value2"
	test "$(VAR3)" = "test\aval"
	test "$(VAR4)" = "value4\\value5"
	test "$(VAR5)" = "value1\\ \ value2"
	test "$(EPERCENT)" = "\%"
	@echo TEST-PASS