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:
parent
d8ea2f8c4b
commit
ab2e567685
@ -17,7 +17,8 @@ run_test() {
|
|||||||
else
|
else
|
||||||
$test_runner $suite_builddir/${test_name%.c} \
|
$test_runner $suite_builddir/${test_name%.c} \
|
||||||
>$test_log/stdout \
|
>$test_log/stdout \
|
||||||
2>$test_log/stderr
|
2>$test_log/stderr \
|
||||||
|
|| return 1
|
||||||
valgrind_check $test_log/stderr || return 1
|
valgrind_check $test_log/stderr || return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user