diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cd4bb62f83..5e6ec82c60 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -28,11 +28,5 @@ set_target_properties( get_target_property(type evmone TYPE) if(type STREQUAL SHARED_LIBRARY) add_test(NAME ${PROJECT_NAME}/evm-test COMMAND evm-test $) - - gtest_add_tests( - TARGET evmc-vmtester - SOURCES ${PROJECT_SOURCE_DIR}/evmc/test/vmtester/tests.cpp - EXTRA_ARGS $ - TEST_PREFIX ${PROJECT_NAME}/evmc-vmtester/ - ) + evmc_add_vm_test(NAME ${PROJECT_NAME}/evmc-vmtester TARGET evmone) endif()