mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 19:45:44 +01:00
If 'make lcov' failed, exit immediately
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
8bfe12b1ff
commit
ed1f673525
@ -100,7 +100,15 @@ echo
|
|||||||
|
|
||||||
# Step 3 - Process the coverage report
|
# Step 3 - Process the coverage report
|
||||||
cd ..
|
cd ..
|
||||||
make lcov |tee tests/cov-$TEST_OUTPUT
|
{
|
||||||
|
make lcov
|
||||||
|
echo SUCCESS
|
||||||
|
} | tee tests/cov-$TEST_OUTPUT
|
||||||
|
|
||||||
|
if [ "$(tail -n1 tests/cov-$TEST_OUTPUT)" != "SUCCESS" ]; then
|
||||||
|
echo >&2 "Fatal: 'make lcov' failed"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Step 4 - Summarise the test report
|
# Step 4 - Summarise the test report
|
||||||
|
Loading…
Reference in New Issue
Block a user