git-subtree-dir: external/capstone git-subtree-split: 5430745e9623786f65c0d773a417f389ebb43395
Building
cstest is build together with Capstone by adding the flag -DCAPSTONE_BUILD_CSTEST.
The build requires libyaml. It is a fairly common package and should be provided by your package manager.
Testing
Files to test cstest itself are located in suite/cstest/test.
And yes, testing with a shell script is not nice. But I have time constraints, and
for integration testing it does pretty much exactly what it should.