clang/tests/llvm-toolchain/main.fmf
Milos Prchlik 5f6796def1 tests: parametrize "libc++" in tests
Downstream has no `libc++`, but it can run clang tests with `libstdc++`.
Parametrize the tests, leaving the actual library to use on their
respective `main.fmf` files that are easier to overturn in downstream
repos.
2021-11-23 17:16:17 +01:00

31 lines
648 B
Plaintext

# TODO REVIEW: better summary
summary: ""
test: ./test.sh
adjust:
- environment+:
CXXLIB: "libc++"
require:
- clang
- lld
- compiler-rt
- libcxx-devel
- libcxx-static
- glibc-devel
- glibc-static
- gcc
when: "distro == fedora"
because: testing against libcxx package in Fedora
- environment+:
CXXLIB: "libstdc++"
require:
- clang
- lld
- compiler-rt
- glibc-devel
- glibc-static
- gcc
- libstdc++
when: "distro == rhel"
because: testing against libstdc++ package in RHEL as libcxx is not shipped with RHEL
require: []