mirror of https://github.com/getdnsapi/getdns.git
Fail eventloop test on errors
This commit is contained in:
parent
8b2e8c2be3
commit
61dffd0e35
|
@ -6,42 +6,4 @@
|
|||
|
||||
cd "${BUILDDIR}/build-event-loops"
|
||||
CTEST_OUTPUT_ON_FAILURE=1 make -j 4 test
|
||||
if test -e "${BUILDDIR}/build-event-loops/src/test/fails"
|
||||
then
|
||||
if test -e "${BUILDDIR}/build-event-loops/src/test/check_getdns.failed"
|
||||
then
|
||||
echo ""
|
||||
echo "********************"
|
||||
echo "*** check_getdns ***"
|
||||
echo "********************"
|
||||
cat "${BUILDDIR}/build-event-loops/src/test/check_getdns.log"
|
||||
fi
|
||||
if test -e "${BUILDDIR}/build-event-loops/src/test/check_getdns_event.failed"
|
||||
then
|
||||
echo ""
|
||||
echo "**************************"
|
||||
echo "*** check_getdns_event ***"
|
||||
echo "**************************"
|
||||
cat "${BUILDDIR}/build-event-loops/src/test/check_getdns_event.log"
|
||||
fi
|
||||
if test -e "${BUILDDIR}/build-event-loops/src/test/check_getdns_ev.failed"
|
||||
then
|
||||
echo ""
|
||||
echo "***********************"
|
||||
echo "*** check_getdns_ev ***"
|
||||
echo "***********************"
|
||||
cat "${BUILDDIR}/build-event-loops/src/test/check_getdns_ev.log"
|
||||
fi
|
||||
if test -e "${BUILDDIR}/build-event-loops/src/test/check_getdns_uv.failed"
|
||||
then
|
||||
echo ""
|
||||
echo "***********************"
|
||||
echo "*** check_getdns_uv ***"
|
||||
echo "***********************"
|
||||
cat "${BUILDDIR}/build-event-loops/src/test/check_getdns_uv.log"
|
||||
fi
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue