From a486c1bf42c2c6594fcf42422e6eaae7a641bc12 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 4 Oct 2018 16:34:04 +0000 Subject: [PATCH] Add pocl test to the CI test list --- tests/testspocl.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/testspocl.yml diff --git a/tests/testspocl.yml b/tests/testspocl.yml new file mode 100644 index 0000000..f4811fd --- /dev/null +++ b/tests/testspocl.yml @@ -0,0 +1,32 @@ +# This is separate from tests.yml because we want to run the tests without +# clang installed. +# FIXME: Is there some way we can put this yaml definition in the tests/pocl +# repo? Right now we need to copy and paste this everywhere the test is run. +- hosts: localhost + pre_tasks: + # Programs linked against pocl should be able to run without clang installed, + # so when we run the test we want to make sure clang is not installed to + # verify we haven't introduced an implicit dependency on clang. + - name: Uninstall clang + package: + name: clang + state: absent + tags: classic + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/pocl.git" + dest: "pocl" + required_packages: + - ocl-icd-devel + - pocl + - gcc + tests: + # rhbz#1582884 + - simple-opencl-no-clang: + dir: pocl/simple-opencl-no-clang + run: ./runtest.sh + +