[packages/kf5-kcoreaddons] - more flaky tests

baggins baggins at pld-linux.org
Sat Apr 9 03:46:39 CEST 2016


commit fb59faa02cfe89b015e4cbff62725fe77b6590fa
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 9 10:46:24 2016 +0900

    - more flaky tests

 flaky-tests.patch | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)
---
diff --git a/flaky-tests.patch b/flaky-tests.patch
index 7c1ce80..4baf6c1 100644
--- a/flaky-tests.patch
+++ b/flaky-tests.patch
@@ -18,12 +18,31 @@
      kurlmimedatatest.cpp
      kstringhandlertest.cpp
      kusertest.cpp
-@@ -65,8 +65,6 @@
+@@ -67,27 +64,3 @@
+     MULTIPLUGIN_FILE="$<TARGET_FILE:multiplugin>"
      ALWAYSUNLOADPLUGIN_FILE="$<TARGET_FILE:alwaysunloadplugin>"
  )
- 
+-
 -set(KDIRWATCH_BACKENDS_TO_TEST Stat)#Stat is always compiled
 -
- if (HAVE_SYS_INOTIFY_H)
-     list(APPEND KDIRWATCH_BACKENDS_TO_TEST INotify)
- endif()
+-if (HAVE_SYS_INOTIFY_H)
+-    list(APPEND KDIRWATCH_BACKENDS_TO_TEST INotify)
+-endif()
+-
+-if (HAVE_FAM)
+-    list(APPEND KDIRWATCH_BACKENDS_TO_TEST Fam)
+-endif()
+-
+-if (HAVE_QFILESYSTEMWATCHER)
+-    list(APPEND KDIRWATCH_BACKENDS_TO_TEST QFSWatch)
+-endif()
+-
+-foreach(_backendName ${KDIRWATCH_BACKENDS_TO_TEST})
+-    string(TOLOWER ${_backendName} _lowercaseBackendName)
+-    set(BACKEND_TEST_TARGET kdirwatch_${_lowercaseBackendName}_unittest)
+-    add_executable(${BACKEND_TEST_TARGET} kdirwatch_unittest.cpp)
+-    target_link_libraries(${BACKEND_TEST_TARGET} Qt5::Test KF5::CoreAddons)
+-    ecm_mark_as_test(${BACKEND_TEST_TARGET})
+-    add_test(NAME ${BACKEND_TEST_TARGET} COMMAND ${BACKEND_TEST_TARGET})
+-    target_compile_definitions(${BACKEND_TEST_TARGET} PUBLIC -DKDIRWATCH_TEST_METHOD=\"${_backendName}\")
+-endforeach()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kcoreaddons.git/commitdiff/fb59faa02cfe89b015e4cbff62725fe77b6590fa



More information about the pld-cvs-commit mailing list