Skip to content

Commit

Permalink
Merge pull request #96 from ethereum/evmc-vmtester-helper
Browse files Browse the repository at this point in the history
cmake: Use evmc-vmtester helper
  • Loading branch information
chfast authored Sep 17, 2019
2 parents a99cf67 + 1685ab0 commit 1b793f8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<TARGET_FILE:evmone>)

gtest_add_tests(
TARGET evmc-vmtester
SOURCES ${PROJECT_SOURCE_DIR}/evmc/test/vmtester/tests.cpp
EXTRA_ARGS $<TARGET_FILE:evmone>
TEST_PREFIX ${PROJECT_NAME}/evmc-vmtester/
)
evmc_add_vm_test(NAME ${PROJECT_NAME}/evmc-vmtester TARGET evmone)
endif()

0 comments on commit 1b793f8

Please sign in to comment.