Bug 610493 run reftests with no hardware acceleration p=lsblakk r=armenzg
authorLukas Blakk <lsblakk@mozilla.com>
Tue, 07 Dec 2010 12:57:17 -0800
changeset 1136 59f35f922f09c915ac8ff3cd75afa1f1bbd25f47
parent 1135 f788266776f3cd68e2f99903a2e1ef4ac7abb223
child 1137 4febe8d47e48946fe874142f176efa06ddfbf565
push id747
push userlsblakk@mozilla.com
push dateTue, 07 Dec 2010 20:57:36 +0000
reviewersarmenzg
bugs610493
Bug 610493 run reftests with no hardware acceleration p=lsblakk r=armenzg
process/factory.py
steps/unittest.py
--- a/process/factory.py
+++ b/process/factory.py
@@ -6943,17 +6943,17 @@ class UnittestPackagedBuildFactory(Mozil
                 self.addStep(unittest_steps.MozillaPackagedJetpackTests(
                   suite=suite,
                   env=self.env,
                   leakThreshold=leak_threshold,
                   symbols_path='symbols',
                   maxTime=120*60, # Two Hours
                  ))
             elif suite in ('reftest', 'reftest-d2d', 'crashtest', \
-                           'direct3D', 'opengl'):
+                           'direct3D', 'opengl', 'reftest-no-d2d-d3d'):
                 if suite in ('direct3D', 'opengl'):
                     self.env.update({'MOZ_ACCELERATED':'11'})
                 # Unpack the tests
                 self.addStep(UnpackTest(
                  filename=WithProperties('%(tests_filename)s'),
                  testtype='reftest',
                  haltOnFailure=True,
                  name='unpack reftest tests',
--- a/steps/unittest.py
+++ b/steps/unittest.py
@@ -717,16 +717,20 @@ class MozillaPackagedReftests(ShellComma
         if suite == 'crashtest':
             self.command.append('reftest/tests/testing/crashtest/crashtests.list')
         elif suite in ('reftest', 'direct3D', 'opengl'):
             self.command.append('reftest/tests/layout/reftests/reftest.list')
         elif suite == 'reftest-d2d':
             self.command.append('--setpref=gfx.font_rendering.directwrite.enabled=true')
             self.command.append('--setpref=mozilla.widget.render-mode=6')
             self.command.append('reftest/tests/layout/reftests/reftest.list')
+        elif suite == 'reftest-no-d2d-d3d':
+            self.command.append('--setpref=gfx.direct2d.disabled=true')
+            self.command.append('--setpref=layers.accelerate-none=true')
+            self.command.append('reftest/tests/layout/reftests/reftest.list')
         elif suite == 'jsreftest':
             self.command.append('--extra-profile-file=jsreftest/tests/user.js')
             self.command.append('jsreftest/tests/jstests.list')
 
     def createSummary(self, log):
         self.addCompleteLog('summary', summarizeLogReftest(self.name, log))
 
     def evaluateCommand(self, cmd):