Index: scripts/master/factory/chromium_commands.py |
diff --git a/scripts/master/factory/chromium_commands.py b/scripts/master/factory/chromium_commands.py |
index 1596b1b5198a5b4caf22d4bb3f066d9f4d6df1e3..a71ba448d52d04606b6d1e9a4bce1a599dde5865 100644 |
--- a/scripts/master/factory/chromium_commands.py |
+++ b/scripts/master/factory/chromium_commands.py |
@@ -228,6 +228,17 @@ class ChromiumCommands(commands.FactoryCommands): |
'check lkgr and stop build if unchanged', |
cmd) |
+ def AddMachPortsTests(self, factory_properties=None): |
+ """Adds the Mac-specific Mach ports count test.""" |
+ factory_properties = factory_properties or {} |
+ c = self.GetPerfStepClass(factory_properties, 'mach_ports', |
+ process_log.GraphingLogProcessor) |
+ |
+ options = ['--gtest_filter=MachPortsTest.*'] |
+ cmd = self.GetTestCommand('performance_ui_tests', options, |
+ factory_properties=factory_properties) |
+ self.AddTestStep(c, 'mach_ports', cmd, do_step_if=self.TestStepFilter) |
cmp
2012/02/01 01:51:25
before line 240, please add:
cmd = self.AddBuildPr
Robert Sesek
2012/02/01 18:25:36
Done.
|
+ |
def GetPageCyclerCommand(self, test_name, http, factory_properties=None): |
"""Returns a command list to call the _test_tool on the page_cycler |
executable, with the appropriate GTest filter and additional arguments. |