summaryrefslogtreecommitdiff
blob: 37ec431fb70bf22495dc0af03cc4ec9cc35ced08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From b77714b446e93a0ab997b125ef1fb3ad9bc4bb9b Mon Sep 17 00:00:00 2001
From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Date: Wed, 14 Aug 2024 23:28:45 +0200
Subject: [PATCH] Fix 'make check' for python tests
Upstream: https://github.com/capstone-engine/capstone/pull/2439

--- a/bindings/python/Makefile
+++ b/bindings/python/Makefile
@@ -41,7 +41,7 @@ TESTS += test_lite.py test_iter.py test_customized_mnem.py test_alpha.py
 check:
 	@for t in $(TESTS); do \
 		echo Check $$t ... ; \
-		./$$t > /dev/null; \
+		./tests/$$t > /dev/null; \
 		if [ $$? -eq 0 ]; then echo OK; else echo FAILED; exit 1; fi \
 	done