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

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

Issue 100443007: telemetry: handle tests that are not supported on a platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Catch new exception in TestTracingCleanedUp. Created 6 years, 9 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/page_test_runner.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.py
diff --git a/tools/telemetry/telemetry/test.py b/tools/telemetry/telemetry/test.py
index 3559d9c8e061b5e9cf8141ce3f7299521d55dfcd..b3cc4d9f03f5cd200b46b3713e5116384c6360d3 100644
--- a/tools/telemetry/telemetry/test.py
+++ b/tools/telemetry/telemetry/test.py
@@ -17,6 +17,7 @@ from telemetry.page import page_runner
from telemetry.page import cloud_storage
from telemetry.page import page_set
from telemetry.page import page_test
+from telemetry.page import page_test_results
from telemetry.page import test_expectations
@@ -78,7 +79,12 @@ class Test(command_line.Command):
self._DownloadGeneratedProfileArchive(args)
- results = page_runner.Run(test, ps, expectations, args)
+ results = page_test_results.PageTestResults()
+ try:
+ results = page_runner.Run(test, ps, expectations, args)
+ except page_test.TestNotSupportedOnPlatformFailure as failure:
+ logging.warning(str(failure))
+
results.PrintSummary()
return len(results.failures) + len(results.errors)
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698