Add unit tests stub

This commit is contained in:
Paweł Bylica 2018-06-08 12:44:33 +02:00
parent 534f634213
commit fd578469a4
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
4 changed files with 19 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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>

View File

@ -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(