Skip to content

Commit

Permalink
[onert/test] Move test libs (#14522)
Browse files Browse the repository at this point in the history
This commit moves nnapi test libs into tests/nnapi and remain libs into tests/tools.
It includes removing unused headers for nnapi test.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Jan 3, 2025
1 parent 5bffe08 commit 354827d
Show file tree
Hide file tree
Showing 65 changed files with 4 additions and 1,981 deletions.
7 changes: 4 additions & 3 deletions tests/nnapi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ if (GENERATE_RUNTIME_NNAPI_TESTS)
add_dependencies(${RUNTIME_NNAPI_TEST} generate-runtime-nnapi-tests)
endif(GENERATE_RUNTIME_NNAPI_TESTS)

set(RUNTIME_NNAPI_TEST_SRC_INC ${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/src)
target_include_directories(${RUNTIME_NNAPI_TEST} PRIVATE ${RUNTIME_NNAPI_TEST_SRC_INC})
# Bridge between onert API and NNAPI
add_subdirectory(bridge)

target_include_directories(${RUNTIME_NNAPI_TEST} PRIVATE src)

# Define NNTEST_ONLY_PUBLIC_API to avoid android dependency
target_compile_definitions(${RUNTIME_NNAPI_TEST} PRIVATE NNTEST_ONLY_PUBLIC_API)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
65 changes: 0 additions & 65 deletions tests/nnapi/include/NeuralNetworksExShim.h

This file was deleted.

138 changes: 0 additions & 138 deletions tests/nnapi/include/NeuralNetworksLoadHelpers.h

This file was deleted.

Loading

0 comments on commit 354827d

Please sign in to comment.