Import tests from tests/llvm repository

It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.
This commit is contained in:
Tom Stellard 2021-04-05 21:54:55 +00:00 committed by tstellar
parent 649f50d8ed
commit d3a7312537
2 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,5 @@
set -exo pipefail
echo "void lto_function(){}" | clang -flto -O2 -c -x c -o foo.o -
ar crs foo.a foo.o
readelf -c foo.a | grep lto_function

View File

@ -9,9 +9,6 @@
- cargo
- clang
- binutils
repositories:
- repo: "https://src.fedoraproject.org/tests/llvm.git"
dest: "llvm"
tests:
- regression-tests
- rust-sanity:
@ -31,4 +28,4 @@
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
# hours.
#- build-compat
- llvm/binutils-plugin-ar
- binutils-plugin-ar