clang/tests/toolchains/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

22 lines
597 B
Plaintext

# TODO REVIEW: better summary
summary: ""
test: ./test.sh
adjust:
- environment+:
CXXLIBS: "libc++"
require:
- clang
- libcxx-devel
when: "distro == fedora"
because: testing against libcxx package in Fedora
- environment+:
CXXLIBS: "libstdc++"
require:
- clang
- libstdc++
when: "distro == rhel"
because: testing against libstdc++ package in RHEL as libcxx is not shipped with RHEL
# TODO REVIEW: are these all requirements? test.sh seems to run quite a lot of stuff, looks like we
# need more packages from LLVM family.
require: []