]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Do not run benchmark test automatically
authorAlexander Lohnau <alexander.lohnau@gmx.de>
Thu, 18 Feb 2021 20:05:52 +0000 (21:05 +0100)
committerAlexander Lohnau <alexander.lohnau@gmx.de>
Thu, 18 Feb 2021 20:08:05 +0000 (20:08 +0000)
Same reasoning as https://invent.kde.org/frameworks/kio/-/merge_requests/301 and
the commit series.

src/tests/CMakeLists.txt

index 82db749b5c3ab4d5d9c5bf451f7b2421b230d3f4..692b7756fd21a13f5cd0bc818015d73cb1d481ee 100644 (file)
@@ -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)