Pull llvm-test-suite tests from common repo

This commit is contained in:
Tom Stellard 2019-06-07 22:55:01 +00:00
parent 7b4d800ffc
commit 77df2a6206
3 changed files with 5 additions and 15 deletions

View File

@ -1,7 +0,0 @@
#!/bin/sh
set -e
set -x
cp -r /usr/share/llvm-test-suite/ABI-Testsuite .
cd ABI-Testsuite
python3 linux-x86.py clang test -v --path /usr/lib64/llvm/ -j 1

View File

@ -1,6 +0,0 @@
#!/bin/sh
set -e
set -x
cmake -G Ninja /usr/share/llvm-test-suite/ -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DTEST_SUITE_LIT_FLAGS="-svj1"
ninja -j 1 check

View File

@ -19,12 +19,15 @@
- libcxx-devel - libcxx-devel
- glibc-devel - glibc-devel
- gcc - gcc
repositories:
- repo: "https://src.fedoraproject.org/tests/llvm-test-suite.git"
dest: "llvm-test-suite"
tests: tests:
- rhbz#482491: - rhbz#482491:
dir: ./ dir: ./
run: echo "int main(){}" | clang -x c - run: echo "int main(){}" | clang -x c -
- llvm-test-suite - llvm-test-suite/test-suite
- llvm-abi-test-suite - llvm-test-suite/abi-test-suite
- rhbz_1657544 - rhbz_1657544
- rhbz_1647130 - rhbz_1647130
- llvm-toolchain - llvm-toolchain