aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-19 16:46:17 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-19 23:11:29 +0100
commit21b9f6f3c75318f22541942353f60bd133e01ba3 (patch)
treedfc7d8105c703cac8340a9c29e2780168af0222a
parentMerge pull request #2601 (diff)
downloadmonero-21b9f6f3c75318f22541942353f60bd133e01ba3.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--README.md2
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/core_tests/CMakeLists.txt10
3 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index f9c52a6d8..e33bfaec1 100644
--- a/README.md
+++ b/README.md
@@ -212,7 +212,7 @@ invokes cmake commands as needed.
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:
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a5f5335db..762eee776 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -111,7 +111,7 @@ add_test(
COMMAND hash-target-tests)
set(enabled_tests
- coretests
+ core_tests
difficulty
hash
performance_tests
diff --git a/tests/core_tests/CMakeLists.txt b/tests/core_tests/CMakeLists.txt
index a24bd4fce..68f2e9816 100644
--- a/tests/core_tests/CMakeLists.txt
+++ b/tests/core_tests/CMakeLists.txt
@@ -58,10 +58,10 @@ set(core_tests_headers
v2_tests.h
rct.h)
-add_executable(coretests
+add_executable(core_tests
${core_tests_sources}
${core_tests_headers})
-target_link_libraries(coretests
+target_link_libraries(core_tests
PRIVATE
cryptonote_core
p2p
@@ -69,10 +69,10 @@ target_link_libraries(coretests
epee
${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})
-set_property(TARGET coretests
+set_property(TARGET core_tests
PROPERTY
FOLDER "tests")
add_test(
- NAME coretests
- COMMAND coretests --generate_and_play_test_data)
+ NAME core_tests
+ COMMAND core_tests --generate_and_play_test_data)