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

Unified Diff: tools/tests/rebaseline.sh

Issue 15660014: rebaseline.py : add self-tests (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: update_TODO_comment Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/rebaseline.py ('k') | tools/tests/rebaseline/all/output-expected/command_line » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tests/rebaseline.sh
===================================================================
--- tools/tests/rebaseline.sh (revision 9425)
+++ tools/tests/rebaseline.sh (working copy)
@@ -61,20 +61,18 @@
./run.sh
SELFTEST_RESULT=$?
+TOOLS="skdiff benchgraphs rebaseline"
echo
if [ "$SELFTEST_RESULT" != "0" ]; then
- WHICHTOOL=skdiff
- replace_expected_with_actual
- WHICHTOOL=benchgraphs
- replace_expected_with_actual
+ for WHICHTOOL in $TOOLS; do
+ replace_expected_with_actual
+ done
echo "Self-tests still failing, you should probably run this again..."
else
- WHICHTOOL=skdiff
- svn_add_new_files
- svn_delete_old_files
- WHICHTOOL=benchgraphs
- svn_add_new_files
- svn_delete_old_files
+ for WHICHTOOL in $TOOLS; do
+ svn_add_new_files
+ svn_delete_old_files
+ done
echo "Self-tests succeeded this time, you should be done!"
fi
exit $SELFTEST_RESULT
« no previous file with comments | « tools/rebaseline.py ('k') | tools/tests/rebaseline/all/output-expected/command_line » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698