From c05f963719cab35697e645ad5aaaa72794fcccfc Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Thu, 21 Apr 2016 12:24:53 +0200 Subject: [PATCH] Fail on debugging detected errors --- .../330-event-loops-unit-tests.test | 8 +++++++- 1 file changed, 7 insertions(+), 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 e80948e0..c6539115 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 @@ -5,4 +5,10 @@ [ -f .tpkg.var.test ] && source .tpkg.var.test cd "${BUILDDIR}/build-event-loops" -make test +if make test +then + if grep ERROR "${BUILDDIR}/build-event-loops/src/test/*.log" + then + exit 1 + fi +fi