Skip to content

Commit dd60d63

Browse files
kylo5abypugong2019
andcommitted
add more unit test cases for interpreter
Signed-off-by: zhenweijin <[email protected]> Co-authored-by: Gong, Pu <[email protected]>
1 parent f6ce52f commit dd60d63

File tree

4 files changed

+639
-0
lines changed

4 files changed

+639
-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_SOURCE_DIR}/wasm-apps/*.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)