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.
This commit is contained in:
Petri Lehtinen 2010-01-28 20:58:25 +02:00
parent d8ea2f8c4b
commit ab2e567685

View File

@ -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
}