xref: /aosp_15_r20/external/capstone/suite/test_python.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../bindings/python/test.py > /tmp/$1
7../bindings/python/test_detail.py >> /tmp/$1
8../bindings/python/test_arm.py >> /tmp/$1
9../bindings/python/test_arm64.py >> /tmp/$1
10../bindings/python/test_mips.py >> /tmp/$1
11../bindings/python/test_ppc.py >> /tmp/$1
12../bindings/python/test_sparc.py >> /tmp/$1
13../bindings/python/test_x86.py >> /tmp/$1
14