aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/suite/test_python.sh
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/suite/test_python.sh')
-rwxr-xr-xcapstone/suite/test_python.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/capstone/suite/test_python.sh b/capstone/suite/test_python.sh
new file mode 100755
index 000000000..b3cfa5c7b
--- /dev/null
+++ b/capstone/suite/test_python.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Run all the Python tests, and send the output that to a file to be compared later
+# This is useful when we want to verify if a commit (wrongly) changes the disassemble result.
+
+../bindings/python/test.py > /tmp/$1
+../bindings/python/test_detail.py >> /tmp/$1
+../bindings/python/test_arm.py >> /tmp/$1
+../bindings/python/test_arm64.py >> /tmp/$1
+../bindings/python/test_mips.py >> /tmp/$1
+../bindings/python/test_ppc.py >> /tmp/$1
+../bindings/python/test_sparc.py >> /tmp/$1
+../bindings/python/test_x86.py >> /tmp/$1