Skip to content

Commit 9de6204

Browse files
committed
add more unit test cases for interpreter
Signed-off-by: zhenweijin <zhenwei.jin@intel.com> Co-authored-by: Gong, Pu <pu.gong@intel.com> Co-authored-by: ai-assistant
1 parent 081c344 commit 9de6204

File tree

4 files changed

+612
-0
lines changed

4 files changed

+612
-0
lines changed

tests/unit/interpreter/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ add_executable (interpreter_test ${unit_test_sources})
3636

3737
target_link_libraries (interpreter_test gtest_main )
3838

39+
# Copy WASM files to build directory
40+
add_custom_command(TARGET interpreter_test POST_BUILD
41+
COMMAND ${CMAKE_COMMAND} -E copy
42+
${CMAKE_CURRENT_LIST_DIR}/smart-tests/*.wasm
43+
${CMAKE_CURRENT_BINARY_DIR}/
44+
COMMENT "Copy test wasm files to the directory of google test"
45+
)
46+
3947
gtest_discover_tests(interpreter_test)

0 commit comments

Comments
 (0)