blob: 5430f5f5442a70c2dbe44d9098164ebb366f33f9 [file] [log] [blame]
Nguyen Anh Quynh8ba72502014-11-07 17:24:01 +08001#!/bin/sh
2
3# This script test all architectures by default.
4# At the output are all the mismatches between Capstone (CS) & LLVM (MC).
5# While most differences coming from the fact that Capstone uses more friendly
6# number format, some mismatches might be because Capstone is based on older
7# version of LLVM (which should be fixed in the next release)
8
9find MC/ -name *.cs | ./test_mc.py
10
11# To test just one architecture, specify the corresponsing dir:
12# $ find MC/X86 -name *.cs | ./test_mc.py
13
14# To test just one input file, run test_mc.py with that file:
15# $ ./test_mc.py MC/X86/x86-32-fma3.s.cs