mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-20 06:21:49 +00:00
Fix error return code
This commit is contained in:
parent
e7e9670819
commit
ddaeb354ee
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user