From e1528425731b8835dc98d0ef2a2f4cd5f87b68a3 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Wed, 10 May 2017 14:39:59 +0200 Subject: [PATCH] Fail event-loops-unit-tests tpkg when tests fail --- .../330-event-loops-unit-tests.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/tpkg/330-event-loops-unit-tests.tpkg/330-event-loops-unit-tests.test b/src/test/tpkg/330-event-loops-unit-tests.tpkg/330-event-loops-unit-tests.test index 92e3d214..31a7dd1f 100644 --- a/src/test/tpkg/330-event-loops-unit-tests.tpkg/330-event-loops-unit-tests.test +++ b/src/test/tpkg/330-event-loops-unit-tests.tpkg/330-event-loops-unit-tests.test @@ -7,7 +7,7 @@ cd "${BUILDDIR}/build-event-loops" if make -j 4 test then - if grep ERROR "${BUILDDIR}/build-event-loops/src/test/*.log" + if test -e "${BUILDDIR}/build-event-loops/src/test/fails" then exit 1 fi