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

Unified Diff: systrace/profile_chrome/atrace_tracing_agent_unittest.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: Add Chris as owner of Systrace bin directory 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
Index: systrace/profile_chrome/atrace_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/atrace_tracing_agent_unittest.py b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
index dbeb465c7a4541743fbc93cfdec10608207511e1..24f3c7e3d746050f438d1bdac355b7bcc914ba57 100644
--- a/systrace/profile_chrome/atrace_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
@@ -4,15 +4,21 @@
from profile_chrome import agents_unittest
from profile_chrome import atrace_tracing_agent
+from systrace import decorators
class AtraceAgentTest(agents_unittest.BaseAgentTest):
+ @decorators.ClientOnlyTest
def testGetCategories(self):
categories = \
atrace_tracing_agent.AtraceAgent.GetCategories(self.device)
self.assertTrue(categories)
assert 'gfx' in ' '.join(categories)
+ # TODO(washingtonp): This test throws an error on the Trybot servers when
+ # running profile_chrome's atrace agent. Once systrace uses profile_chrome's
+ # agent instead, this test may not longer need to be disabled.
+ @decorators.Disabled
def testTracing(self):
categories = 'gfx,input,view'
ring_buffer = False
« no previous file with comments | « systrace/profile_chrome/agents_unittest.py ('k') | systrace/profile_chrome/chrome_startup_tracing_agent_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698