┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lohnau <[email protected]>2021-02-18 21:05:52 +0100
committerAlexander Lohnau <[email protected]>2021-02-18 20:08:05 +0000
commitd691aa96f221114ccdaf557ab99a819a1319cdb2 (patch)
tree44438ef6aee87e575047d0bd80e21a18a56783ac
parentba041233e88eb5745878a0d066486dd3d4b4e72c (diff)
Do not run benchmark test automatically
Same reasoning as https://invent.kde.org/frameworks/kio/-/merge_requests/301 and the commit series.
-rw-r--r--src/tests/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 82db749b5..692b7756f 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -30,10 +30,9 @@ ecm_add_test(kfileitemmodeltest.cpp testdir.cpp
TEST_NAME kfileitemmodeltest
LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test)
-# KFileItemModelBenchmark
-ecm_add_test(kfileitemmodelbenchmark.cpp testdir.cpp
-TEST_NAME kfileitemmodelbenchmark
-LINK_LIBRARIES dolphinprivate Qt5::Test)
+# KFileItemModelBenchmark, not run automatically with `ctest` or `make test`
+add_executable(kfileitemmodelbenchmark kfileitemmodelbenchmark.cpp testdir.cpp)
+target_link_libraries(kfileitemmodelbenchmark dolphinprivate Qt5::Test)
# KItemListKeyboardSearchManagerTest
ecm_add_test(kitemlistkeyboardsearchmanagertest.cpp LINK_LIBRARIES dolphinprivate Qt5::Test)