xref: /aosp_15_r20/external/capstone/suite/test_c.sh (revision 9a0e4156d50a75a99ec4f1653a0e9602a5d45c18)
1#!/bin/bash
2
3# Run all the Python tests, and send the output that to a file to be compared later
4# This is useful when we want to verify if a commit (wrongly) changes the disassemble result.
5
6../tests/test > /tmp/$1
7../tests/test_detail >> /tmp/$1
8../tests/test_skipdata >> /tmp/$1
9../tests/test_iter >> /tmp/$1
10../tests/test_arm >> /tmp/$1
11../tests/test_arm64 >> /tmp/$1
12../tests/test_mips >> /tmp/$1
13../tests/test_ppc >> /tmp/$1
14../tests/test_sparc >> /tmp/$1
15../tests/test_x86 >> /tmp/$1
16../tests/test_systemz >> /tmp/$1
17../tests/test_xcore >> /tmp/$1
18