From db1e6f5a70250e2317cbc1c43b8da7c5ff44556d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jun 14 2018 04:53:39 +0000 Subject: Rewrite test using correct format. --- diff --git a/tests/gcc-detector.yml b/tests/gcc-detector.yml deleted file mode 100644 index 91d42a8..0000000 --- a/tests/gcc-detector.yml +++ /dev/null @@ -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 - diff --git a/tests/tests.yml b/tests/tests.yml index f307603..6be2660 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -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 -