#2 Add simple OpenCL test
Merged 5 years ago by tstellar. Opened 5 years ago by tstellar.
rpms/ tstellar/pocl ci-tests  into  master

file added
+26
@@ -0,0 +1,26 @@ 

+ - 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