Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Unified Diff: test/inspector/testcfg.py

Issue 2840923002: Revert of [inspector] always include user scripts in the snapshot. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/task-runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/testcfg.py
diff --git a/test/inspector/testcfg.py b/test/inspector/testcfg.py
index 9c943d9848a4e2815b757d574e917fcc7d5ee9ef..8dea3c96e87e8e5c0d143f27462c315db02575c9 100644
--- a/test/inspector/testcfg.py
+++ b/test/inspector/testcfg.py
@@ -5,7 +5,6 @@
import itertools
import os
import re
-import shlex
from testrunner.local import testsuite
from testrunner.local import utils
@@ -44,7 +43,7 @@
flags = [] + context.mode_flags
flags_match = re.findall(FLAGS_PATTERN, source)
for match in flags_match:
- flags += shlex.split(match.strip())
+ flags += match.strip().split()
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)
« no previous file with comments | « test/inspector/task-runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698