From ddaeb354ee760289b870f503b61b609f85191289 Mon Sep 17 00:00:00 2001 From: Pranith Kumar Date: Wed, 29 Jun 2016 11:08:13 -0400 Subject: [PATCH] Fix error return code --- bindings/python/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/Makefile b/bindings/python/Makefile index d63247d98..ca4ebf826 100644 --- a/bindings/python/Makefile +++ b/bindings/python/Makefile @@ -132,6 +132,7 @@ TESTS += test_ppc.py test_sparc.py test_systemz.py test_x86.py test_xcore.py tes check: @for t in $(TESTS); do \ echo Check $$t ... ; \ - ./$$t > /dev/null && echo OK || (echo FAILED; exit 1;) \ + ./$$t > /dev/null; \ + if [ $$? -eq 0 ]; then echo OK; else echo FAILED; exit 1; fi \ done