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:
parent
649f50d8ed
commit
d3a7312537
5
tests/binutils-plugin-ar/runtest.sh
Executable file
5
tests/binutils-plugin-ar/runtest.sh
Executable 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user