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
parent c28ca03ed2
commit d2cdee84dc
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 - cargo
- clang - clang
- binutils - binutils
repositories:
- repo: "https://src.fedoraproject.org/tests/llvm.git"
dest: "llvm"
tests: tests:
- regression-tests - regression-tests
- rust-sanity: - rust-sanity:
@ -31,4 +28,4 @@
# FIXME: This fails, because the CI system has a hard-coded timeout of 4 # FIXME: This fails, because the CI system has a hard-coded timeout of 4
# hours. # hours.
#- build-compat #- build-compat
- llvm/binutils-plugin-ar - binutils-plugin-ar