Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
7.18k
stars
1.52k
forks
source link
Modern testing #2384
Open
Rot127 opened 3 weeks ago
Your checklist for this pull request
Detailed description
Based on: https://github.com/capstone-engine/capstone/pull/2298
Modernize testing.
The new unit testing is build around
yaml
files. They can be consumed by the C test engine (cstest
) or any bindings easily.Statistics
The new
cstest
logs technically two statistics. One bycmocka
and one bycstest
. The reason is:cmocka
doesn't provide the detailed statistics to us. So we cannot print a nice summary at the end.Test plan
Added and all green
Closing issues
closes https://github.com/capstone-engine/capstone/issues/1984