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

Unified Diff: systrace/systrace/decorators.py

Issue 2295913002: Enable some profile_chrome unit tests on Trybots (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Disable DDMS test because it is flaky 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 side-by-side diff with in-line comments
Download patch
« systrace/profile_chrome/util.py ('K') | « systrace/profile_chrome/util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: systrace/systrace/decorators.py
diff --git a/systrace/systrace/decorators.py b/systrace/systrace/decorators.py
index ee3a660538f7ca4ecc69b4fef91d79bc403795e7..a0cf38b0aba1a4207697a7ce91a5a029db6030a5 100644
--- a/systrace/systrace/decorators.py
+++ b/systrace/systrace/decorators.py
@@ -14,7 +14,13 @@ def HostOnlyTest(func):
def ClientOnlyTest(func):
"""Decorator for running unit tests only on client devices (Android).
"""
- return _SkipTestDecoratorHelper(func, ['windows', 'linux', 'mac'])
+ return _SkipTestDecoratorHelper(func, ['win', 'linux', 'mac'])
+
+
+def Disabled(func):
+ """Decorator for not running a unit test on any Trybot platform.
+ """
+ return _SkipTestDecoratorHelper(func, ['win', 'linux', 'mac', 'android'])
def _SkipTestDecoratorHelper(func, disabled_strings):
« systrace/profile_chrome/util.py ('K') | « systrace/profile_chrome/util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698