-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable test_api unit test to run in build-quick.yml
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@intel.com> Co-authored-by: Jemale Lockett <jemale.lockett@intel.com>
- Loading branch information
1 parent
35fa646
commit 0600e4f
Showing
5 changed files
with
56 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: MIT | ||
|
||
# function(add_test) | ||
add_executable( | ||
test_loader_api | ||
src/test_api.cpp | ||
) | ||
target_include_directories(test_loader_api PRIVATE ${CMAKE_SOURCE_DIR}/include) | ||
target_link_libraries( | ||
test_loader_api | ||
GTest::gtest_main | ||
${TARGET_LOADER_NAME} | ||
) | ||
|
||
# endfunction() | ||
|
||
# add_loader_test( | ||
# NAME test_loader_api | ||
# GROUP "/layer_tests/loader_api" | ||
# SOURCES | ||
# src/test_loader_api.cpp | ||
# src/main.cpp | ||
# LINK_LIBRARIES | ||
# level_zero_tests::logging | ||
# level_zero_tests::utils | ||
# ) | ||
# For some reason the MSVC runtime libraries used by googletest and test | ||
# binaries don't match, so force the test binary to use the dynamic runtime. | ||
if(MSVC) | ||
target_compile_options(test_loader_api PRIVATE "/MD$<$<CONFIG:Debug>:d>") | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters