Fix error return code

This commit is contained in:
Pranith Kumar 2016-06-29 11:08:13 -04:00
parent e7e9670819
commit ddaeb354ee

View File

@ -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