From 1c3086f3ac2b8499b51280e0c75457dcc54c1a9b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 21 May 2015 18:53:35 +0200 Subject: tests: Die early on db errors Signed-off-by: Florian Pritz --- run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index db8d1511b..52c11d943 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -40,7 +40,7 @@ while ! curl -s "$url" >/dev/null; do done # run tests -php index.php tools drop_all_tables -php index.php tools update_database +php index.php tools drop_all_tables || exit 1 +php index.php tools update_database || exit 1 prove --ext .php --state=hot,slow,all,save --timer -o -e "php index.php tools test $url" -r "$@" application/test/tests/ -- cgit v1.2.3-24-g4f1b