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

Unified Diff: scripts/master/factory/chromium_commands.py

Issue 9601021: Add testing library to running tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 8 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 | « no previous file | scripts/master/factory/chromium_factory.py » ('j') | scripts/slave/runtest.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/factory/chromium_commands.py
===================================================================
--- scripts/master/factory/chromium_commands.py (revision 125389)
+++ scripts/master/factory/chromium_commands.py (working copy)
@@ -938,6 +938,27 @@
'Download and extract official build', cmd,
halt_on_failure=True)
+ def AddSoftGpuTests(self, factory_properties):
+ """Runs gpu_tests with software rendering and archives any results.
+ """
+ # Put gpu data in /b/build/slave/SLAVE_NAME/gpu_data
M-A Ruel 2012/03/07 20:29:44 Do you want to keep this comment?
Peter Mayo 2012/03/08 21:17:35 These were a hook to the key open question of wher
+ # gen_dir = self.PathJoin('..', 'soft_gpu_data', 'generated')
+ # ref_dir = self.PathJoin('..', 'gpu_data', 'reference')
+
+ tests = ':'.join(['GpuPixelBrowserTest.*', 'GpuFeatureTest.*',
+ 'Canvas2DPixelTestSD.*', 'Canvas2DPixelTestHD.*'])
+ # 'GPUCrashTest.*', while interesting, fails.
+
+ self.AddBasicGTestTestStep('gpu_tests', factory_properties,
+ description='(soft)',
+ arg_list=['--gtest_also_run_disabled_tests',
+ # '--generated-dir=%s' % gen_dir,
M-A Ruel 2012/03/07 20:29:44 same
Peter Mayo 2012/03/08 21:17:35 Done.
+ # '--reference-dir=%s' % ref_dir,
+ '--gtest_filter=%s' % tests],
+ test_tool_arg_list=['--llvmpipe'])
+
+ # Note: we aren't archiving these for the moment.
+
def AddGpuTests(self, factory_properties):
"""Runs gpu_tests binary and archives any results.
« no previous file with comments | « no previous file | scripts/master/factory/chromium_factory.py » ('j') | scripts/slave/runtest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698