aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/suite/test_python.sh
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/suite/test_python.sh
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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