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.py
andcompress_bitcode.sh
have been taken from theAnghaBench
repository and modified slightly for the gcc torture tests.build_and_compress.sh
will 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.py
has been modified to support recursing into subdirectories to support using it on the output generated by thelifting-tools-ci/tool_run_scripts/rellic.py
script.test-gcc-torture.sh
is a modified version oftest-angha-1k.sh
with the option to runroundtrip.py
on the output for the host architecture.lifting-tools-ci/datasets/fetch_gcc_torture.sh
will 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.sh
for just amd64