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

Side by Side Diff: third_party/hunspell/tests/test.sh

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « third_party/hunspell/tests/sugutf.wrong ('k') | third_party/hunspell/tests/utf8.aff » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 export LC_ALL="C" 2 export LC_ALL="C"
3 3
4 function check_valgrind_log () { 4 function check_valgrind_log () {
5 if [ "$VALGRIND" != "" ]; then 5 if [ "$VALGRIND" != "" ]; then
6 if [ -f $TEMPDIR/test.pid* ]; then 6 if [ -f $TEMPDIR/test.pid* ]; then
7 log=`ls $TEMPDIR/test.pid*` 7 log=`ls $TEMPDIR/test.pid*`
8 if ! grep -q 'ERROR SUMMARY: 0 error' $log; then 8 if ! grep -q 'ERROR SUMMARY: 0 error' $log; then
9 echo "Fail in $NAME $1 checking detected by Valgrind" 9 echo "Fail in $NAME $1 checking detected by Valgrind"
10 echo "$log Valgrind log file moved to $TEMPDIR/badlogs" 10 echo "$log Valgrind log file moved to $TEMPDIR/badlogs"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 echo "=============================================" 102 echo "============================================="
103 echo "Fail in $NAME.sug. Bad suggestion?" 103 echo "Fail in $NAME.sug. Bad suggestion?"
104 diff $TESTDIR/$NAME.sug $TEMPDIR/$NAME.sug 104 diff $TESTDIR/$NAME.sug $TEMPDIR/$NAME.sug
105 rm -f $TEMPDIR/$NAME.sug 105 rm -f $TEMPDIR/$NAME.sug
106 exit 1 106 exit 1
107 fi 107 fi
108 rm -f $TEMPDIR/$NAME.sug 108 rm -f $TEMPDIR/$NAME.sug
109 fi 109 fi
110 110
111 check_valgrind_log "suggestion" 111 check_valgrind_log "suggestion"
OLDNEW
« no previous file with comments | « third_party/hunspell/tests/sugutf.wrong ('k') | third_party/hunspell/tests/utf8.aff » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698