Add first c test to test the C api

This commit is contained in:
Brandon Fish
2019-02-01 22:10:36 -06:00
parent 6f05146737
commit 62f7bb607e
8 changed files with 54 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
cmake_minimum_required (VERSION 2.6)
project (WasmerCApiTests)
add_executable(test-instantiate test-instantiate.c)
target_link_libraries(test-instantiate
general "${CMAKE_SOURCE_DIR}/../../../target/debug/libwasmer_runtime_c_api.dylib")
enable_testing()
add_test(test-instantiate test-instantiate)