always use core_tests for consistency, not coretests

Other tests use unit_tests, performance_tests, etc.
This fixes getting it wrong half the time when typing.
This commit is contained in:
moneromooo-monero 2017-10-19 16:46:17 +01:00
parent 8d511f3c24
commit 21b9f6f3c7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
3 changed files with 7 additions and 7 deletions

View File

@ -212,7 +212,7 @@ invokes cmake commands as needed.
make release-test make release-test
*NOTE*: `coretests` test may take a few hours to complete. *NOTE*: `core_tests` test may take a few hours to complete.
* **Optional**: to build binaries suitable for debugging: * **Optional**: to build binaries suitable for debugging:

View File

@ -111,7 +111,7 @@ add_test(
COMMAND hash-target-tests) COMMAND hash-target-tests)
set(enabled_tests set(enabled_tests
coretests core_tests
difficulty difficulty
hash hash
performance_tests performance_tests

View File

@ -58,10 +58,10 @@ set(core_tests_headers
v2_tests.h v2_tests.h
rct.h) rct.h)
add_executable(coretests add_executable(core_tests
${core_tests_sources} ${core_tests_sources}
${core_tests_headers}) ${core_tests_headers})
target_link_libraries(coretests target_link_libraries(core_tests
PRIVATE PRIVATE
cryptonote_core cryptonote_core
p2p p2p
@ -69,10 +69,10 @@ target_link_libraries(coretests
epee epee
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES}) ${EXTRA_LIBRARIES})
set_property(TARGET coretests set_property(TARGET core_tests
PROPERTY PROPERTY
FOLDER "tests") FOLDER "tests")
add_test( add_test(
NAME coretests NAME core_tests
COMMAND coretests --generate_and_play_test_data) COMMAND core_tests --generate_and_play_test_data)