1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-06-11 19:08:13 +03:00

Fix regression where failed tests would still leave passing builds.

This commit is contained in:
Will Rouesnel
2017-10-09 12:22:07 +11:00
parent 2d3aa082b1
commit 97708205f6
2 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,6 @@ shift
echo "mode: count" > $output_cov
test_cov=$(mktemp)
$test_binary -test.coverprofile=$test_cov $@
$test_binary -test.coverprofile=$test_cov $@ || exit 1
tail -n +2 $test_cov >> $output_cov
rm -f $test_cov