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

Side by Side Diff: tools/perf/page_sets/system_health/platforms.py

Issue 2228103002: [system-health] Add support for disabling individual stories on individual platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use possible_browser instead of browser Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DESKTOP = 'desktop' 5 DESKTOP = 'desktop'
6 MOBILE = 'mobile' 6 MOBILE = 'mobile'
7 7
8 ALL_PLATFORMS = frozenset({DESKTOP, MOBILE}) 8 ALL_PLATFORMS = frozenset({DESKTOP, MOBILE})
9
10 # Use the constants below to mark on which platforms the story has WPR
11 # recordings. To disable a story (e.g. because it crashes or takes too long),
12 # use @decorators.Disabled instead.
9 DESKTOP_ONLY = frozenset({DESKTOP}) 13 DESKTOP_ONLY = frozenset({DESKTOP})
10 MOBILE_ONLY = frozenset({MOBILE}) 14 MOBILE_ONLY = frozenset({MOBILE})
11 # This is used for disabling a story on all platforms.
12 NO_PLATFORMS = frozenset() 15 NO_PLATFORMS = frozenset()
nednguyen 2016/09/08 19:31:16 Why do you add this back? I thought your decision
petrcermak 2016/09/09 09:34:09 Good question. The reason is that it needs to be u
OLDNEW
« no previous file with comments | « tools/perf/page_sets/system_health/loading_stories.py ('k') | tools/perf/page_sets/system_health/searching_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698