Rewrite test using correct format.
This commit is contained in:
parent
f917db2d93
commit
db1e6f5a70
@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
vars:
|
|
||||||
- artifacts: ./artifacts
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tasks:
|
|
||||||
- name: Test block
|
|
||||||
block:
|
|
||||||
- name: Install clang
|
|
||||||
dnf:
|
|
||||||
name: clang
|
|
||||||
state: present
|
|
||||||
- name: Install cross-gcc
|
|
||||||
dnf:
|
|
||||||
name: gcc-x86_64-linux-gnu
|
|
||||||
state: present
|
|
||||||
- name: Test that clang uses the correct gcc toolchain when cross-gcc is installed.
|
|
||||||
shell: echo "int main(){}" | clang -x c -
|
|
@ -1 +1,12 @@
|
|||||||
- include: gcc-detector.yml
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- clang
|
||||||
|
- gcc-x86_64-linux-gnu
|
||||||
|
tests:
|
||||||
|
- rhbz#482491:
|
||||||
|
dir: ./
|
||||||
|
run: echo "int main(){}" | clang -x c -
|
||||||
|
Loading…
Reference in New Issue
Block a user