aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/suite/test_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/suite/test_all.sh')
-rwxr-xr-xcapstone/suite/test_all.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/capstone/suite/test_all.sh b/capstone/suite/test_all.sh
new file mode 100755
index 000000000..443f442de
--- /dev/null
+++ b/capstone/suite/test_all.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# dump test output to /tmp/<name> for diffing
+# this is useful to detect if a change modifies any disasm output
+
+# syntax: test_all.sh <name>
+
+./test_archs.py > /tmp/$1_arch
+./test_c.sh $1_c