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

Side by Side Diff: sp/gen-auto-rebaseline

Issue 1129173006: Enable slimming paint by default (for trybots only) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fri Jun 19 16:39:28 PDT 2015 Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py ('k') | sp/gen-expectations » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2 # Collect recent auto-rebaselines of base tests and generate NeedsRebaseline
3 # for slimming paint.
4 cd `dirname $0`/..
5 git remote update
6 revisions=$(git log $(cat sp/last-auto-rebaseline)..origin/master --reverse --gr ep Auto-rebaseline --format=oneline|awk '{print $1}')
7 declare -A tests
8 for i in $revisions; do
9 for t in `git show $i LayoutTests/TestExpectations | grep "^-[cB].*NeedsRebase line" |
10 sed 's/\[[^]]*\]//g' | awk '{print $2}'`; do
11 if [[ $t == virtual/slimmingpaint/* ]]; then
12 unset tests[$t]
13 elif [[ $t != virtual/* ]]; then
14 tests[virtual/slimmingpaint/$t]=
15 fi
16 done
17 last=$i
18 done
19 for i in ${!tests[@]}; do
20 echo "Bug(wangxianzhu) $i [ NeedsRebaseline ]"
21 done | sort
22 if [ "$last" == "" ]; then
23 last=`git log origin/master~1..origin/master | awk '{print $1}'`
24 fi
25 echo $last >sp/last-auto-rebaseline
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py ('k') | sp/gen-expectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698