core_tests: add tests for hard fork behaviors (MRL-0004)

We also replace the --fakechain option with an optional structure
containing details about configuration for the core/blockchain,
for test purposes. This seems more future friendly.
This commit is contained in:
moneromooo-monero 2016-02-08 18:47:56 +00:00
parent 945fe90e08
commit a333c42cde
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
10 changed files with 48 additions and 25 deletions

View file

@ -38,7 +38,8 @@ set(core_tests_sources
integer_overflow.cpp
ring_signature_1.cpp
transaction_tests.cpp
tx_validation.cpp)
tx_validation.cpp
v2_tests.cpp)
set(core_tests_headers
block_reward.h
@ -52,7 +53,8 @@ set(core_tests_headers
integer_overflow.h
ring_signature_1.h
transaction_tests.h
tx_validation.h)
tx_validation.h
v2_tests.h)
add_executable(coretests
${core_tests_sources}