mirror of https://github.com/status-im/evmc.git
Add unit tests stub
This commit is contained in:
parent
534f634213
commit
fd578469a4
|
@ -2,5 +2,9 @@
|
|||
# Copyright 2018 Pawel Bylica.
|
||||
# Licensed under the MIT License. See the LICENSE file.
|
||||
|
||||
hunter_add_package(GTest)
|
||||
find_package(GTest CONFIG REQUIRED)
|
||||
|
||||
add_subdirectory(integration)
|
||||
add_subdirectory(unittests)
|
||||
add_subdirectory(vmtester)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# EVMC: Ethereum Client-VM Connector API.
|
||||
# Copyright 2018 Pawel Bylica.
|
||||
# Licensed under the MIT License. See the LICENSE file.
|
||||
|
||||
add_executable(
|
||||
evmc-test
|
||||
test_instructions.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(evmc-test PRIVATE instructions GTest::gtest GTest::main)
|
|
@ -0,0 +1,5 @@
|
|||
// EVMC: Ethereum Client-VM Connector API.
|
||||
// Copyright 2018 Pawel Bylica.
|
||||
// Licensed under the MIT License. See the LICENSE file.
|
||||
|
||||
#include <evmc/instructions.h>
|
|
@ -7,9 +7,6 @@ include(GNUInstallDirs)
|
|||
hunter_add_package(Boost COMPONENTS program_options filesystem system)
|
||||
find_package(Boost CONFIG REQUIRED program_options filesystem system)
|
||||
|
||||
hunter_add_package(GTest)
|
||||
find_package(GTest CONFIG REQUIRED)
|
||||
|
||||
add_executable(evmc-vmtester vmtester.hpp vmtester.cpp tests.cpp)
|
||||
|
||||
target_link_libraries(
|
||||
|
|
Loading…
Reference in New Issue