summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 9a4fccb..51575d9 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -74,8 +74,10 @@ run_oldstyle_applet_tests()
*.mine) continue ;; # svn-produced junk
*.r[0-9]*) continue ;; # svn-produced junk
esac
- run_applet_testcase "$applet" "$testcase" || status=1
- total_failed=$((total_failed + status))
+ run_applet_testcase "$applet" "$testcase" || {
+ status=1
+ total_failed=$((total_failed + 1))
+ }
done
return $status
}