mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
29
build/pymake/tests/comment-parsing.mk
Normal file
29
build/pymake/tests/comment-parsing.mk
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# where do comments take effect?
|
||||
|
||||
VAR = val1 # comment
|
||||
VAR2 = lit2\#hash
|
||||
VAR2_1 = lit2.1\\\#hash
|
||||
VAR3 = val3
|
||||
VAR4 = lit4\\#backslash
|
||||
VAR4_1 = lit4\\\\#backslash
|
||||
VAR5 = lit5\char
|
||||
VAR6 = lit6\\char
|
||||
VAR7 = lit7\\
|
||||
VAR8 = lit8\\\\
|
||||
VAR9 = lit9\\\\extra
|
||||
# This comment extends to the next line \
|
||||
VAR3 = ignored
|
||||
|
||||
all:
|
||||
test "$(VAR)" = "val1 "
|
||||
test "$(VAR2)" = "lit2#hash"
|
||||
test '$(VAR2_1)' = 'lit2.1\#hash'
|
||||
test "$(VAR3)" = "val3"
|
||||
test '$(VAR4)' = 'lit4\'
|
||||
test '$(VAR4_1)' = 'lit4\\'
|
||||
test '$(VAR5)' = 'lit5\char'
|
||||
test '$(VAR6)' = 'lit6\\char'
|
||||
test '$(VAR7)' = 'lit7\\'
|
||||
test '$(VAR8)' = 'lit8\\\\'
|
||||
test '$(VAR9)' = 'lit9\\\\extra'
|
||||
@echo "TEST-PASS"
|
||||
Loading…
Add table
Add a link
Reference in a new issue