diff options
Diffstat (limited to 'check/common')
-rw-r--r-- | check/common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/check/common b/check/common index b61d529..57aa806 100644 --- a/check/common +++ b/check/common @@ -13,10 +13,12 @@ export PKG_CONFIG_PATH export LC_ALL=C run_test () { + set +e ${pkgconfig} $ARGS >/dev/null 2>&1 R=$? if [ "$R" -ne "${EXPECT_RETURN:-0}" ]; then - echo "${pkgconfig} $ARGS exited with $R (expected $EXPECT_RETURN)" + ${pkgconfig} --print-errors $ARGS + echo "${pkgconfig} $ARGS exited with $R (expected ${EXPECT_RETURN:-0})" 1>&2 exit 1 fi |