summaryrefslogtreecommitdiffstats
path: root/test/sconsign/script/Configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sconsign/script/Configure.py')
-rw-r--r--test/sconsign/script/Configure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sconsign/script/Configure.py b/test/sconsign/script/Configure.py
index 8e17e95..19c8a1c 100644
--- a/test/sconsign/script/Configure.py
+++ b/test/sconsign/script/Configure.py
@@ -30,6 +30,7 @@ info in them (which have different BuildInfo entries).
"""
import os.path
+import re
import TestSCons
import TestSConsign
@@ -40,6 +41,8 @@ test = TestSConsign.TestSConsign(match = TestSConsign.match_re)
CC = test.detect('CC', norm=1)
CC_dir, CC_file = os.path.split(CC)
+CC_dir = re.escape(os.path.normcase(CC_dir))
+CC_file = re.escape(CC_file)
# Note: We don't use os.path.join() representations of the file names
# in the expected output because paths in the .sconsign files are