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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py

Issue 2456073002: Rename test port baseline directories in unit tests. (Closed)
Patch Set: Whitespace / comments Created 4 years, 2 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 | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py
index 8837f3f9fe579ce9b2eac1dbcd9578e670d279b3..2062ef2771779515da35a351b33ff4daefa84162 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py
@@ -365,13 +365,15 @@ class TestPort(Port):
port_name = 'test'
default_port_name = 'test-mac-mac10.10'
+ # FALLBACK_PATHS is a map of version name to baseline directories to search;
+ # these directory names don't necessarily have to be port names.
Dirk Pranke 2016/10/27 21:01:44 They don't have to be, but it's probably a good id
FALLBACK_PATHS = {
- 'win7': ['test-win-win7', 'test-win-win10'],
- 'win10': ['test-win-win10'],
- 'mac10.10': ['test-mac-mac10.10', 'test-mac-mac10.11'],
- 'mac10.11': ['test-mac-mac10.11'],
- 'trusty': ['test-linux-trusty', 'test-win-win7'],
- 'precise': ['test-linux-precise', 'test-linux-trusty', 'test-win-win7'],
+ 'win10': ['win-baselines'],
+ 'win7': ['win7-baselines', 'win-baselines'],
+ 'mac10.11': ['mac-baselines'],
+ 'mac10.10': ['mac10.10-baselines', 'mac-baselines'],
+ 'trusty': ['linux-baselines', 'win7-baselines'],
+ 'precise': ['linux-precise-baselines', 'linux-baselines', 'win7-baselines'],
}
@classmethod
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698