Error out if a Python test program fails
authorGreg Hudson <ghudson@mit.edu>
Fri, 5 Mar 2010 04:18:51 +0000 (04:18 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 5 Mar 2010 04:18:51 +0000 (04:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23765 dc483132-0cff-0310-8789-dd5450dbe970

src/config/post.in

index 89b0ce5c40784bc9163148ce13a58ebe591675be..e61561a2b74efd9d9855139405e351f780e0252e 100644 (file)
@@ -137,7 +137,7 @@ check-python-tests-yes:
                echo PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
                        $(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS); \
                PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
-                       $(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS); \
+                       $(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS) || exit 1; \
        done
 
 check-python-tests-no: