ehlo,

make intgcheck silently passed in case of failure/error in pytest.
This regression was introduced by spliting make intgcheck into
sub-targets. I am soory I had to catch that as part of review.

Simple patch is attached.

LS
From c35b3e0487b115cf22f027bc23d4979c1fb55d1b Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <[email protected]>
Date: Mon, 26 Sep 2016 09:53:27 +0200
Subject: [PATCH] BUILD: intgcheck need to fail if pytest fails

---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 
4385268b21b2de2054d3958f98f28f5ea7cfa191..1ea8f50661988815fb830edd6515ec1db9c45964
 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3106,12 +3106,14 @@ intgcheck-prepare:
        cd ../..
 
 intgcheck-run:
+       set -e; \
        if [ ! -d intg/pfx ]; then $(MAKE) intgcheck-prepare; fi; \
        cd intg/bld; \
        $(MAKE) $(AM_MAKEFLAGS) -C src/tests/intg intgcheck-installed; \
        cd ../..
 
 intgcheck-clean:
+       set -e; \
        prefix=`readlink -e intg/pfx`; \
        rm -Rf "$$prefix" intg
 
-- 
2.9.3

_______________________________________________
sssd-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to