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

Unified Diff: tools/telemetry/telemetry/test/discover.py

Issue 12255052: [Telemetry] Fix perf bots after http://crrev.com/183009. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new test, testComponentExtension. Created 7 years, 10 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 | « tools/telemetry/telemetry/page/perf_tests_helper.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/test/discover.py
diff --git a/tools/telemetry/telemetry/test/discover.py b/tools/telemetry/telemetry/test/discover.py
index f2398fb8b3e761ed04bb276367de1016fa182c63..f1897aee351b363fbb52b6cb3fd6dc127d3255b3 100644
--- a/tools/telemetry/telemetry/test/discover.py
+++ b/tools/telemetry/telemetry/test/discover.py
@@ -27,7 +27,7 @@ def Discover(start_dir, top_level_dir, suffix, clazz,
continue
name, _ = os.path.splitext(filename)
relpath = os.path.relpath(dirpath, top_level_dir)
- fqn = relpath.replace('/', '.') + '.' + name
+ fqn = relpath.replace('/', '.').replace('\\', '.') + '.' + name
try:
module = __import__(fqn, fromlist=[True])
except Exception:
« no previous file with comments | « tools/telemetry/telemetry/page/perf_tests_helper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698