Skip to content

Latest commit

 

History

History
 
 

ExtraTests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

NOTE This is experimental extension of test suite. Could be dropped or extended further at some later point.

Overview

"ExtraTests" directory contains infrastructure for picking up LIT style tests from another external directory passed in SYCL_EXTRA_TESTS_SRC.

CMake parameters

All parameters described in Readme.md are applicable. Additional parameters for this test category:

SYCL_EXTRA_TESTS_SRC path to directory which contains additional LIT tests.

Example

# Configure
cmake -G Ninja \
        -DLLVM_LIT=<path/to/llvm-lit> \
        -DSYCL_TEST_E2E_TARGETS="opencl:cpu,acc,gpu;level_zero:gpu" \
        -DCMAKE_CXX_COMPILER=<path/to/clang++> \
        -DSYCL_EXTRA_TESTS_SRC=<path/to/more/lit/tests/sources>
        ..

# Build and run full list of SYCL tests
ninja check-sycl-e2e