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

Unified Diff: tools/perf/page_sets/presubmit_unittest.py

Issue 132923002: Disable unit tests that fail on cros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@oobe
Patch Set: rebase Created 6 years, 11 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 | tools/telemetry/telemetry/core/backends/chrome/android_browser_finder_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/presubmit_unittest.py
diff --git a/tools/perf/page_sets/presubmit_unittest.py b/tools/perf/page_sets/presubmit_unittest.py
index b3d05691839417244f3b999af742c9cce8030148..a639ea4c57bd9236679a79239aaf322dbc05974c 100644
--- a/tools/perf/page_sets/presubmit_unittest.py
+++ b/tools/perf/page_sets/presubmit_unittest.py
@@ -9,6 +9,7 @@ import unittest
PERF_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(os.path.dirname(PERF_ROOT), 'telemetry'))
+from telemetry.unittest import DisabledTestOnCrOS
from telemetry.unittest import system_stub
sys.path.insert(0, PERF_ROOT)
@@ -121,10 +122,12 @@ class PresubmitTest(unittest.TestCase):
self.assertResultCount(results, 1, 0)
self.assertTrue('not found' in str(results[0]), msg=results[0])
+ @DisabledTestOnCrOS
def testSkip(self):
results = self._CheckUpload(['/path/to/skip.wpr.sha1'])
self.assertResultCount(results, 0, 0)
+ @DisabledTestOnCrOS
def testSuccess(self):
results = self._CheckUpload(['/path/to/success.wpr.sha1'])
self.assertResultCount(results, 0, 1)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/android_browser_finder_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698