File: test_c.sh

package info (click to toggle)
capstone 5.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie, trixie-proposed-updates
  • size: 58,188 kB
  • sloc: ansic: 96,086; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,275; sh: 479; ruby: 386
file content (26 lines) | stat: -rwxr-xr-x 834 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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.

../tests/test_arm > /tmp/$1
../tests/test_arm64 > /tmp/$1
../tests/test_basic > /tmp/$1
../tests/test_bpf > /tmp/$1
../tests/test_customized_mnem > /tmp/$1
../tests/test_detail > /tmp/$1
../tests/test_evm > /tmp/$1
../tests/test_iter > /tmp/$1
../tests/test_m680x > /tmp/$1
../tests/test_m68k > /tmp/$1
../tests/test_mips > /tmp/$1
../tests/test_mos65xx > /tmp/$1
../tests/test_ppc > /tmp/$1
../tests/test_skipdata > /tmp/$1
../tests/test_sparc > /tmp/$1
../tests/test_systemz > /tmp/$1
../tests/test_tms320c64x > /tmp/$1
../tests/test_wasm > /tmp/$1
../tests/test_winkernel > /tmp/$1
../tests/test_x86 > /tmp/$1
../tests/test_xcore > /tmp/$1