]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/CMakeLists.txt
Do not run benchmark test automatically
[dolphin.git] / 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)