crashtest is a built-in testing system for crashlink that is used to score the decompiler's output against the original source code. It is used to ensure that the decompiler is working correctly, that the output is correct, that the decompiler is not regressing, and to allow those interested in the project to easily see the state of the decompiler without installing it or running the test suite themselves.
You can call it with just test
(which will run the complete test suite, including tests implemented with pytest
), or just calling crashtest
(or python -m crashtest
) directly. Make sure you call it from the root of the repository, since it uses relative paths to find the test files and the output directory.