summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-08-19 07:31:58 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-08-19 07:34:35 -0700
commit4bce8b46b2835b43367467ef97e20ea47a1d8c83 (patch)
treef5bf4da92e4f14be13a021112b4e223ac4478e0b /check
parentcf9089f5ec802af897520d5bcb5376f7b6899416 (diff)
downloadpkg-config-4bce8b46b2835b43367467ef97e20ea47a1d8c83.tar.gz
Exit on errors for check-missing like others
This ensures that the make shows FAIL in case one test fails and a subsequent one succeeds.
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-missing2
1 files changed, 2 insertions, 0 deletions
diff --git a/check/check-missing b/check/check-missing
index 69bed61..93c2267 100755
--- a/check/check-missing
+++ b/check/check-missing
@@ -5,6 +5,8 @@ if [ "$PKG_CONFIG_SHELL_IS_POSIX" != "1" ]; then
PKG_CONFIG_SHELL_IS_POSIX=1 PATH=`getconf PATH` exec sh $0 "$@"
fi
+set -e
+
. ${srcdir}/common
# non-existent package; call should fail and cause no output