Files
ispc/ispcrt/tests/mock_tests/CMakeLists.txt
T
Jan Zielinski c5d179a601 Mock driver and initial set of ISPCRT mock tests
This infrastructure allows testing of scenarios
that are difficult to be tested on real hardware,
e.g. failuers, gpu hangs etc.

It consists of two parts:
- level zero mock that is pretending to be Level Zero NULL driver
- gtest library
- initial set of tests checking if ISPCRT correctly passes GPU hang info to the user
2020-12-08 21:53:45 -08:00

13 lines
420 B
CMake

## Copyright 2020 Intel Corporation
## SPDX-License-Identifier: BSD-3-Clause
# set the project name
project(ispcrt_mock_tests)
# add the executable
add_executable(ispcrt_mock_tests ispcrt_mock_main.cpp)
link_directories(${CMAKE_BINARY_DIR})
target_link_libraries(ispcrt_mock_tests PUBLIC gtest_main ispcrt ze_null)
target_include_directories(ispcrt_mock_tests PUBLIC ${CMAKE_SOURCE_DIR}/ispcrt/tests/level_zero_mock)