Index: test/inspector/testcfg.py |
diff --git a/test/inspector/testcfg.py b/test/inspector/testcfg.py |
index 8dea3c96e87e8e5c0d143f27462c315db02575c9..9c943d9848a4e2815b757d574e917fcc7d5ee9ef 100644 |
--- a/test/inspector/testcfg.py |
+++ b/test/inspector/testcfg.py |
@@ -5,6 +5,7 @@ |
import itertools |
import os |
import re |
+import shlex |
from testrunner.local import testsuite |
from testrunner.local import utils |
@@ -43,7 +44,7 @@ class InspectorProtocolTestSuite(testsuite.TestSuite): |
flags = [] + context.mode_flags |
flags_match = re.findall(FLAGS_PATTERN, source) |
for match in flags_match: |
- flags += match.strip().split() |
+ flags += shlex.split(match.strip()) |
testname = testcase.path.split(os.path.sep)[-1] |
testfilename = os.path.join(self.root, testcase.path + self.suffix()) |
protocoltestfilename = os.path.join(self.root, PROTOCOL_TEST_JS) |