summaryrefslogtreecommitdiffstats
path: root/test/sconsign/script/dblite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sconsign/script/dblite.py')
-rw-r--r--test/sconsign/script/dblite.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sconsign/script/dblite.py b/test/sconsign/script/dblite.py
index 60232de..2a53b2e 100644
--- a/test/sconsign/script/dblite.py
+++ b/test/sconsign/script/dblite.py
@@ -29,6 +29,8 @@ Verify that various ways of getting at a an sconsign file written with
the default dblite module and default .dblite suffix work correctly.
"""
+import re
+
import TestSConsign
test = TestSConsign.TestSConsign(match = TestSConsign.match_re)
@@ -37,6 +39,9 @@ CC = test.detect('CC', norm=1)
LINK = test.detect('LINK', norm=1)
if LINK is None: LINK = CC
+CC = re.escape(CC)
+LINK = re.escape(LINK)
+
test.subdir('sub1', 'sub2')
# Note: We don't use os.path.join() representations of the file names