capstone/suite/test_python.sh
2014-03-10 15:44:48 +08:00

14 lines
531 B
Bash
Executable File

#!/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