From 9cff73ea8cb298c6173637307e492e13d05c53a9 Mon Sep 17 00:00:00 2001 From: Darin Petkov Date: Tue, 23 Mar 2010 15:04:34 -0700 Subject: [PATCH] Look for ERROR too. Not sure if BAD actually ever shows up. Review URL: http://codereview.chromium.org/1216001 --- run_remote_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_remote_tests.sh b/run_remote_tests.sh index 17cc32d105..b8e1992db5 100755 --- a/run_remote_tests.sh +++ b/run_remote_tests.sh @@ -64,8 +64,8 @@ function cleanup() { # None function is_successful_test() { local file="$1" - # To be successful, must not have FAIL or BAD in the file. - if egrep -q "(BAD|FAIL)" "${file}"; then + # To be successful, must not have BAD, ERROR or FAIL in the file. + if egrep -q "(BAD|ERROR|FAIL)" "${file}"; then return 1 fi # To be successful, must have GOOD in the file.