From ab2e56768571dbe555d6bd56d31af07771f1e3a9 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 28 Jan 2010 20:58:25 +0200 Subject: [PATCH] test/suites/api: Fail when a test fails The valgrind fix a while back apparently made the test system not notice normal failures in suites/api. --- test/suites/api/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/suites/api/run b/test/suites/api/run index 02e92b0..8688e0f 100755 --- a/test/suites/api/run +++ b/test/suites/api/run @@ -17,7 +17,8 @@ run_test() { else $test_runner $suite_builddir/${test_name%.c} \ >$test_log/stdout \ - 2>$test_log/stderr + 2>$test_log/stderr \ + || return 1 valgrind_check $test_log/stderr || return 1 fi } -- 2.1.4