build/pymake/tests/escape-chars.mk

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 space = $(NULL) $(NULL)
michael@0 2 hello$(space)world$(space) = hellovalue
michael@0 3
michael@0 4 A = aval
michael@0 5
michael@0 6 VAR = value1\\
michael@0 7 VARAWFUL = value1\\#comment
michael@0 8 VAR2 = value2
michael@0 9 VAR3 = test\$A
michael@0 10 VAR4 = value4\\value5
michael@0 11
michael@0 12 VAR5 = value1\\ \ \
michael@0 13 value2
michael@0 14
michael@0 15 EPERCENT = \%
michael@0 16
michael@0 17 all:
michael@0 18 test "$(hello world )" = "hellovalue"
michael@0 19 test "$(VAR)" = "value1\\"
michael@0 20 test '$(VARAWFUL)' = 'value1\'
michael@0 21 test "$(VAR2)" = "value2"
michael@0 22 test "$(VAR3)" = "test\aval"
michael@0 23 test "$(VAR4)" = "value4\\value5"
michael@0 24 test "$(VAR5)" = "value1\\ \ value2"
michael@0 25 test "$(EPERCENT)" = "\%"
michael@0 26 @echo TEST-PASS

mercurial