diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rebaseline.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/rebaseline.py b/tools/rebaseline.py index f069108110..58eeb1d5d6 100755 --- a/tools/rebaseline.py +++ b/tools/rebaseline.py @@ -17,10 +17,10 @@ import os, subprocess, sys, tempfile pairs = [ ['base-shuttle-win7-intel-float', 'Skia_Shuttle_Win7_Intel_Float_Release_32'], -# ['base-shuttle-win7-intel-angle', -# 'Skia_Shuttle_Win7_Intel_Float_ANGLE_Release_32'], -# ['base-shuttle-win7-intel-directwrite', -# 'Skia_Shuttle_Win7_Intel_Float_DirectWrite_Release_32'], + ['base-shuttle-win7-intel-angle', + 'Skia_Shuttle_Win7_Intel_Float_ANGLE_Release_32'], + ['base-shuttle-win7-intel-directwrite', + 'Skia_Shuttle_Win7_Intel_Float_DirectWrite_Release_32'], ['base-shuttle_ubuntu12_ati5770', 'Skia_Shuttle_Ubuntu12_ATI5770_Float_Release_64'], ['base-macmini', @@ -42,9 +42,12 @@ if len(sys.argv) != 2: exit(1) testname = sys.argv[1] -testtypes = [ '4444', '565', '8888', 'gpu', 'pdf' ] for pair in pairs: + if (pair[0] == 'base-shuttle-win7-intel-angle'): + testtypes = [ 'angle' ] + else: + testtypes = [ '4444', '565', '8888', 'gpu', 'pdf' ] print pair[0] + ':' for testtype in testtypes: infilename = testname + '_' + testtype + '.png' @@ -62,3 +65,5 @@ for pair in pairs: subprocess.call(cmd); cmd = [ 'svn', 'add', '--quiet', outfilename ] subprocess.call(cmd) + cmd = [ 'svn', 'propset', '--quiet', 'svn:mime-type', 'image/png', outfilename ]; + subprocess.call(cmd) |