Add scripts for building/testing gcc torture tests #317
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #80
generate_compile_commands.pyandcompress_bitcode.shhave been taken from theAnghaBenchrepository and modified slightly for the gcc torture tests.build_and_compress.shwill download the test suite using LLVM's release tags (e.g. "release/15.x") and call the other two scripts to build and compress the binaries/bitcode.roundtrip.pyhas been modified to support recursing into subdirectories to support using it on the output generated by thelifting-tools-ci/tool_run_scripts/rellic.pyscript.test-gcc-torture.shis a modified version oftest-angha-1k.shwith the option to runroundtrip.pyon the output for the host architecture.lifting-tools-ci/datasets/fetch_gcc_torture.shwill need to be added analogous to the fetch_angha.sh one.Only tested with LLVM 15 so far.
Test output (slightly trimmed) using dummy
fetch_gcc_torture.shfor just amd64