Skip to content

Commit

Permalink
[onert/cker] Move unittest (#9091)
Browse files Browse the repository at this point in the history
This commit moves cker's unittest into compute/cker/src.

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
  • Loading branch information
hseok-oh committed May 2, 2022
1 parent c4060a8 commit 4b4e5b2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .ahub/tcchecker-tca/config.yaml
Expand Up @@ -4,7 +4,7 @@ test:
testCaseLanguage: CPP
testFW: GTEST
testCaseFolder:
- /compute/test
- /compute/cker
- /runtime/libs/misc
- /runtime/libs/ndarray
- /runtime/onert
Expand Down
17 changes: 17 additions & 0 deletions compute/cker/CMakeLists.txt
Expand Up @@ -17,3 +17,20 @@ target_include_directories(nnfw_lib_cker INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/i
# Workaround to avoid warning
# TODO Resolve warning
target_compile_options(nnfw_lib_cker INTERFACE -Wno-attributes)

if(NOT ENABLE_TEST)
return()
endif(NOT ENABLE_TEST)

set(TEST_CKER test_cker)

file(GLOB_RECURSE TESTS "src/*.test.cc")

add_executable(${TEST_CKER} ${TESTS})

target_link_libraries(${TEST_CKER} nnfw_lib_cker)
target_link_libraries(${TEST_CKER} nnfw_coverage)
target_link_libraries(${TEST_CKER} gtest gtest_main ${LIB_PTHREAD})

add_test(${TEST_CKER} ${TEST_CKER})
install(TARGETS ${TEST_CKER} DESTINATION unittest_standalone)
File renamed without changes.
17 changes: 0 additions & 17 deletions compute/test/CMakeLists.txt

This file was deleted.

0 comments on commit 4b4e5b2

Please sign in to comment.