projects/aports·blob master · refs

16 lines · 590 B

1upstream CI (.github/workflows/python-tests.yml) execute these tests
2through `python ./bindings/python/tests/test_all.py`, hence they haven't
3noticed this so far I assume. However, running the test_all script as
4is generates a lot of output so let's fix the check target instead.
5
6--- capstone-5.0.2.orig/bindings/python/Makefile
7+++ capstone-5.0.2/bindings/python/Makefile
8@@ -59,7 +59,7 @@
9 check:
10 @for t in $(TESTS); do \
11 echo Check $$t ... ; \
12- ./$$t > /dev/null; \
13+ $(CURDIR)/tests/$$t > /dev/null; \
14 if [ $$? -eq 0 ]; then echo OK; else echo FAILED; exit 1; fi \
15 done
16