Chromium Code Reviews| Index: scripts/master/factory/chromium_commands.py |
| =================================================================== |
| --- scripts/master/factory/chromium_commands.py (revision 125221) |
| +++ scripts/master/factory/chromium_commands.py (working copy) |
| @@ -938,6 +938,26 @@ |
| '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 |
|
Marc-Antoine Ruel (Google)
2012/03/06 23:38:03
you mean <slavebuilddir> instead of SLAVE_NAME?
N
Peter Mayo
2012/03/07 16:00:35
Guilty of blatant copying from below.
PeterK: We
|
| + gen_dir = self.PathJoin('..', 'soft_gpu_data', 'generated') |
| + ref_dir = self.PathJoin('..', 'gpu_data', 'reference') |
| + |
| + tests = ':'.join(['GpuPixelBrowserTest.*', 'GpuFeatureTest.*', |
|
Marc-Antoine Ruel (Google)
2012/03/06 23:38:03
fix alignment
Peter Mayo
2012/03/07 16:00:35
Done.
|
| + 'Canvas2DPixelTestSD.*', 'Canvas2DPixelTestHD.*']) |
| + # 'GPUCrashTest.*', while interesting, fails. |
| + |
| + self.AddBasicGTestTestStep('gpu_tests', factory_properties, |
| + description='(soft)', |
| + arg_list=['--generated-dir=%s' % gen_dir, |
|
Marc-Antoine Ruel (Google)
2012/03/06 23:38:03
fix alignment
Peter Mayo
2012/03/07 16:00:35
Done.
|
| + '--reference-dir=%s' % ref_dir, '--gtest_also_run_disabled_tests', |
| + '--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. |