1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/community/capstone/fix-python-binding-test-patch.patch
2024-08-22 19:57:03 +00:00

16 lines
590 B
Diff

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