mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 21:45:04 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue