diff options
author | 2012-12-07 17:19:07 +0000 | |
---|---|---|
committer | 2012-12-07 17:19:07 +0000 | |
commit | 0b6dc190bb3723375a85ac47855bb663aba9ce0c (patch) | |
tree | 66ec8efcfca4288b33f22193854f922b03c10ee7 /tools/rebaseline.py | |
parent | 4595426b553c0c721f41aa14d598caa5d9940207 (diff) |
Rebaseline script: check for .git and .svn in the current directory as well. Add mesa to list of configs to update.
R=bsalomon@google.com
Review URL: https://codereview.appspot.com/6908050
git-svn-id: http://skia.googlecode.com/svn/trunk@6707 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/rebaseline.py')
-rwxr-xr-x | tools/rebaseline.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/rebaseline.py b/tools/rebaseline.py index 8a3a8ea8af..21964d4a33 100755 --- a/tools/rebaseline.py +++ b/tools/rebaseline.py @@ -43,15 +43,15 @@ if len(sys.argv) < 2: '[ <testname> ... ]' exit(1) -is_svn_checkout = os.path.exists(os.path.join('..', '.svn')) -is_git_checkout = os.path.exists(os.path.join('..', '.git')) +is_svn_checkout = os.path.exists('.svn') or os.path.exists(os.path.join('..', '.svn') ) +is_git_checkout = os.path.exists('.git') or os.path.exists(os.path.join('..', '.git')) for testname in sys.argv[1:]: for pair in pairs: if (pair[0] == 'base-shuttle-win7-intel-angle'): testtypes = [ 'angle' ] else: - testtypes = [ '565', '8888', 'gpu', 'pdf' ] + testtypes = [ '565', '8888', 'gpu', 'pdf', 'mesa' ] print pair[0] + ':' for testtype in testtypes: infilename = testname + '_' + testtype + '.png' |