llvm/tests/tests.yml
Tom Stellard edf44e3f0d Sync with llvm8.0 spec file
Also replace %global compat_build 0 with %bcond_with compat_build.
This will make it easier to test building the compat version of the
package and allow us to add a CI test for it.
2019-08-02 03:49:32 +00:00

22 lines
551 B
YAML

- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- llvm-test
- rust
- cargo
# The build-compat test requires mock.
- mock
tests:
- regression-tests:
dir: ./
run: /usr/libexec/tests/llvm/run-lit-tests --threads 1
- rust-sanity:
dir: ./
run: cargo new hello && cd hello && cargo run
# This test ensures that the spec file still builds correctly with
# %global compat_build 1
- build-compat