From: William Deegan Date: Sun, 1 Oct 2017 01:06:30 +0000 (-0700) Subject: Add test for another subst dollar escaping situation. In this case 34120( is getting... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1bc907a9213468a27b67a715b46524009daf6fb;p=platform%2Fupstream%2Fscons.git Add test for another subst dollar escaping situation. In this case 34120( is getting translated to (escape closings). Since there is no closing $) it fails with error. --- diff --git a/src/engine/SCons/SubstTests.py b/src/engine/SCons/SubstTests.py index 66041280..fcd77df9 100644 --- a/src/engine/SCons/SubstTests.py +++ b/src/engine/SCons/SubstTests.py @@ -336,6 +336,10 @@ class scons_subst_TestCase(SubstTestCase): # Test double-dollar-sign behavior. "$$FFF$HHH", "$FFFIII", + # Test double-dollar-sign before open paren. It's not meant + # to be signature escaping + 'echo $$(pwd) > XYZ', 'echo $(pwd) > XYZ', + # Test that a Literal will stop dollar-sign substitution. "$XXX $LITERAL $FFF", "GGG $XXX GGG",