From f6b80e18cc85e6d7f1e8fdb2ef73ff7ca5d8d3cf Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Wed, 22 May 2013 19:56:07 -0300 Subject: [PATCH] Refactor the mess in API test CMakelists. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix the regression caused by WK2 tests calling WTF code directly. - Remove the library used on Nix tests and move the code to a single library used on all WebKit2 tests. - Unify WebKit2 and Nix tests, they are both WK2 :-). - Add a bit of flexibility to the CMakeLists otherwise would be impossible to do this patch. - Apply the changes to EFL as well, so EFL port wont break when we upstream Nix. Reviewed by: Rafael Brandão --- Tools/TestWebKitAPI/CMakeLists.txt | 76 ++++----- Tools/TestWebKitAPI/PlatformEfl.cmake | 112 +++++++------- Tools/TestWebKitAPI/PlatformNix.cmake | 214 ++++++++++---------------- 3 files changed, 172 insertions(+), 230 deletions(-) diff --git a/Tools/TestWebKitAPI/CMakeLists.txt b/Tools/TestWebKitAPI/CMakeLists.txt index 4d6c7c388c6ab..3a53c70aa7ccd 100644 --- a/Tools/TestWebKitAPI/CMakeLists.txt +++ b/Tools/TestWebKitAPI/CMakeLists.txt @@ -21,10 +21,20 @@ include_directories(${CMAKE_BINARY_DIR} ${WTF_DIR} ) -WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() +set(webkit2Test_LIBRARIES + WTF + JavaScriptCore + WebKit2 + gtest +) -add_library(TestWebKitAPIInjectedBundle SHARED - ${bundle_harness_SOURCES} +set(TestWebKitAPIBase_SOURCES + ${TESTWEBKITAPI_DIR}/JavaScriptTest.cpp + ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp + ${TESTWEBKITAPI_DIR}/TestsController.cpp +) + +set(TestWebKitAPIInjectedBundle_SOURCES ${TESTWEBKITAPI_DIR}/InjectedBundleController.cpp ${TESTWEBKITAPI_DIR}/InjectedBundleMain.cpp ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp @@ -51,6 +61,9 @@ add_library(TestWebKitAPIInjectedBundle SHARED ${TESTWEBKITAPI_DIR}/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp ) +WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() + +add_library(TestWebKitAPIInjectedBundle SHARED ${TestWebKitAPIInjectedBundle_SOURCES}) target_link_libraries(TestWebKitAPIInjectedBundle WTF) add_dependencies(TestWebKitAPIInjectedBundle WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME}) @@ -61,11 +74,7 @@ add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DTEST_INJECTED_BUNDLE_PATH=\"${TestWebKitAPIInjectedBundle_PATH}\" ) -set(test_wtf_LIBRARIES - WTF - gtest -) - +# WTF tests add_executable(test_wtf ${test_main_SOURCES} ${TESTWEBKITAPI_DIR}/TestsController.cpp @@ -90,56 +99,39 @@ add_executable(test_wtf ${TESTWEBKITAPI_DIR}/Tests/WTF/VectorReverse.cpp ${TESTWEBKITAPI_DIR}/Tests/WTF/WTFString.cpp ) - -target_link_libraries(test_wtf ${test_wtf_LIBRARIES}) +target_link_libraries(test_wtf WTF gtest) add_dependencies(test_wtf ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME}) add_test(test_wtf ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_wtf) set_tests_properties(test_wtf PROPERTIES TIMEOUT 60) -set(test_webcore_LIBRARIES - gtest - WTF - WebCore -) - -foreach (testName ${test_webcore_BINARIES}) +# WebCore tests +foreach (testName ${webcoreTestList}) add_executable(test_webcore_${testName} ${test_main_SOURCES} ${TESTWEBKITAPI_DIR}/TestsController.cpp ${TESTWEBKITAPI_DIR}/Tests/WebCore/${testName}.cpp) add_test(test_webcore_${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_webcore_${testName}) set_tests_properties(test_webcore_${testName} PROPERTIES TIMEOUT 60) - target_link_libraries(test_webcore_${testName} ${test_webcore_LIBRARIES}) + target_link_libraries(test_webcore_${testName} gtest WTF WebCore) endforeach () -add_library(TestWebKitAPIBase - ${test_main_SOURCES} - ${webkit2_api_harness_SOURCES} - ${TESTWEBKITAPI_DIR}/JavaScriptTest.cpp - ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp - ${TESTWEBKITAPI_DIR}/TestsController.cpp -) +# Code used by almost all WebKit2 tests must be on this library to avoid recompilation. +add_library(TestWebKitAPIBase ${TestWebKitAPIBase_SOURCES}) add_dependencies(TestWebKitAPIBase WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME}) -set(test_webkit2_api_LIBRARIES - TestWebKitAPIBase - WTF - JavaScriptCore - WebKit2 - gtest -) - -foreach (testName ${test_webkit2_api_BINARIES}) - get_filename_component(testBaseName ${testName} NAME) - add_executable(test_webkit2_api_${testBaseName} ${TESTWEBKITAPI_DIR}/Tests/WebKit2/${testName}.cpp) - add_test(test_webkit2_api_${testBaseName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_webkit2_api_${testBaseName}) - set_tests_properties(test_webkit2_api_${testBaseName} PROPERTIES TIMEOUT 60) - target_link_libraries(test_webkit2_api_${testBaseName} ${test_webkit2_api_LIBRARIES}) +# WebKit2 tests +foreach (testRawName ${webkit2TestList}) + string(REPLACE "/" "_" testName ${testRawName}) + add_executable(test_${testName} ${TESTWEBKITAPI_DIR}/Tests/${testRawName}.cpp) + add_test(test_${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_${testName}) + set_tests_properties(test_${testName} PROPERTIES TIMEOUT 60) + target_link_libraries(test_${testName} TestWebKitAPIBase ${webkit2Test_LIBRARIES}) endforeach () # We don't run tests that are expected to fail. We could use the WILL_FAIL # property, but it reports failure when the test crashes or timeouts and would # make the bot red. -foreach (testName ${test_webkit2_api_fail_BINARIES}) - add_executable(test_webkit2_api_fail_${testName} ${TESTWEBKITAPI_DIR}/Tests/WebKit2/${testName}.cpp) - target_link_libraries(test_webkit2_api_fail_${testName} ${test_webkit2_api_LIBRARIES}) +foreach (testRawName ${webkit2FailTestList}) + string(REPLACE "/" "_" testName ${testRawName}) + add_executable(test_fail_${testName} ${TESTWEBKITAPI_DIR}/Tests/${testRawName}.cpp) + target_link_libraries(test_fail_${testName} TestWebKitAPIBase ${webkit2Test_LIBRARIES}) endforeach () diff --git a/Tools/TestWebKitAPI/PlatformEfl.cmake b/Tools/TestWebKitAPI/PlatformEfl.cmake index 1ee01428473d0..fd1f384fc6e6b 100644 --- a/Tools/TestWebKitAPI/PlatformEfl.cmake +++ b/Tools/TestWebKitAPI/PlatformEfl.cmake @@ -29,12 +29,15 @@ set(test_main_SOURCES ${TESTWEBKITAPI_DIR}/efl/main.cpp ) -set(bundle_harness_SOURCES +list(APPEND TestWebKitAPIInjectedBundle_SOURCES ${TESTWEBKITAPI_DIR}/efl/InjectedBundleController.cpp ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp + + # In here we list the bundles that are used by our specific WK2 API Tests + ${TESTWEBKITAPI_DIR}/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp ) -set(webkit2_api_harness_SOURCES +list(APPEND TestWebKitAPIBase_SOURCES ${TESTWEBKITAPI_DIR}/efl/PlatformUtilities.cpp ${TESTWEBKITAPI_DIR}/efl/PlatformWebView.cpp ) @@ -52,71 +55,66 @@ set(test_webcore_BINARIES KURL ) -# In here we list the bundles that are used by our specific WK2 API Tests -list(APPEND bundle_harness_SOURCES - ${TESTWEBKITAPI_DIR}/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp -) - -set(test_webkit2_api_BINARIES - AboutBlankLoad - CookieManager - DOMWindowExtensionNoCache - DocumentStartUserScriptAlertCrash - EvaluateJavaScript - FailedLoad - Find - ForceRepaint - FrameMIMETypeHTML - FrameMIMETypePNG - GetInjectedBundleInitializationUserDataCallback - HitTestResultNodeHandle - InjectedBundleBasic - InjectedBundleFrameHitTest - InjectedBundleInitializationUserDataCallbackWins - LoadAlternateHTMLStringWithNonDirectoryURL - LoadCanceledNoServerRedirectCallback - LoadPageOnCrash - MouseMoveAfterCrash - ReloadPageAfterCrash - ResizeWindowAfterCrash - NewFirstVisuallyNonEmptyLayout - NewFirstVisuallyNonEmptyLayoutFails - NewFirstVisuallyNonEmptyLayoutForImages - PageLoadBasic - PageLoadDidChangeLocationWithinPageForFrame - ParentFrame - PreventEmptyUserAgent - PrivateBrowsingPushStateNoHistoryCallback - UserMessage - WKConnection - WKPreferences - WKString - WKStringJSString - WKURL - WillSendSubmitEvent - efl/WKViewClientWebProcessCallbacks +set(webkit2TestList + WebKit2/AboutBlankLoad + WebKit2/CookieManager + WebKit2/DOMWindowExtensionNoCache + WebKit2/DocumentStartUserScriptAlertCrash + WebKit2/EvaluateJavaScript + WebKit2/FailedLoad + WebKit2/Find + WebKit2/ForceRepaint + WebKit2/FrameMIMETypeHTML + WebKit2/FrameMIMETypePNG + WebKit2/GetInjectedBundleInitializationUserDataCallback + WebKit2/HitTestResultNodeHandle + WebKit2/InjectedBundleBasic + WebKit2/InjectedBundleFrameHitTest + WebKit2/InjectedBundleInitializationUserDataCallbackWins + WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL + WebKit2/LoadCanceledNoServerRedirectCallback + WebKit2/LoadPageOnCrash + WebKit2/MouseMoveAfterCrash + WebKit2/ReloadPageAfterCrash + WebKit2/ResizeWindowAfterCrash + WebKit2/NewFirstVisuallyNonEmptyLayout + WebKit2/NewFirstVisuallyNonEmptyLayoutFails + WebKit2/NewFirstVisuallyNonEmptyLayoutForImages + WebKit2/PageLoadBasic + WebKit2/PageLoadDidChangeLocationWithinPageForFrame + WebKit2/ParentFrame + WebKit2/PreventEmptyUserAgent + WebKit2/PrivateBrowsingPushStateNoHistoryCallback + WebKit2/UserMessage + WebKit2/WKConnection + WebKit2/WKPreferences + WebKit2/WKString + WebKit2/WKStringJSString + WebKit2/WKURL + WebKit2/WillSendSubmitEvent + WebKit2/efl/WKViewClientWebProcessCallbacks ) # Seccomp filters is an internal API and its symbols # are not (and should not) be exposed by default. We # can only test it when building shared core. if (ENABLE_SECCOMP_FILTERS AND SHARED_CORE) - list(APPEND test_webkit2_api_BINARIES - SeccompFilters + list(APPEND webkit2TestList + WebKit2/SeccompFilters ) endif () -set(test_webkit2_api_fail_BINARIES - CanHandleRequest - DOMWindowExtensionBasic - DownloadDecideDestinationCrash - NewFirstVisuallyNonEmptyLayoutFrames - RestoreSessionStateContainingFormData - ShouldGoToBackForwardListItem - WKPageGetScaleFactorNotZero +set(webkit2FailTestList + WebKit2/CanHandleRequest + WebKit2/DOMWindowExtensionBasic + WebKit2/DownloadDecideDestinationCrash + WebKit2/NewFirstVisuallyNonEmptyLayoutFrames + WebKit2/RestoreSessionStateContainingFormData + WebKit2/ShouldGoToBackForwardListItem + WebKit2/WKPageGetScaleFactorNotZero ) # Tests disabled because of missing features on the test harness: # -# ResponsivenessTimerDoesntFireEarly -# SpacebarScrolling +# WebKit2/ResponsivenessTimerDoesntFireEarly +# WebKit2/SpacebarScrolling diff --git a/Tools/TestWebKitAPI/PlatformNix.cmake b/Tools/TestWebKitAPI/PlatformNix.cmake index 12022d26b84ff..a73112afd2447 100644 --- a/Tools/TestWebKitAPI/PlatformNix.cmake +++ b/Tools/TestWebKitAPI/PlatformNix.cmake @@ -25,6 +25,8 @@ include_directories( ${CAIRO_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS} "${PLATFORM_DIR}/nix/" + ${TESTWEBKITAPI_DIR}/nix + ${TOOLS_DIR}/Shared/nix ) set(test_main_SOURCES @@ -32,163 +34,113 @@ set(test_main_SOURCES ${TESTWEBKITAPI_DIR}/nix/MainLoop.cpp ) -set(bundle_harness_SOURCES +list(APPEND TestWebKitAPIInjectedBundle_SOURCES ${TESTWEBKITAPI_DIR}/nix/InjectedBundleControllerNix.cpp ${TESTWEBKITAPI_DIR}/nix/PlatformUtilitiesNix.cpp ${TESTWEBKITAPI_DIR}/nix/MainLoop.cpp + ${TESTWEBKITAPI_DIR}/Tests/nix/WebViewWebProcessCrashed_Bundle.cpp + ${TESTWEBKITAPI_DIR}/Tests/nix/WebWorker_Bundle.cpp + ${TESTWEBKITAPI_DIR}/Tests/nix/WebThemeEngine_Bundle.cpp ) -set(webkit2_api_harness_SOURCES - ${TESTWEBKITAPI_DIR}/nix/PlatformUtilitiesNix.cpp - ${TESTWEBKITAPI_DIR}/nix/PlatformWebViewNix.cpp -) - -# The list below works like a test expectation. Tests in the -# test_{webkit2_api|webcore}_BINARIES list are added to the test runner and -# tried on the bots on every build. Tests in test_{webkit2_api|webcore}_fail_BINARIES -# are compiled and suffixed with fail and skipped from the test runner. -# -# Make sure that the tests are passing on both Debug and -# Release builds before adding it to test_{webkit2_api|webcore}_BINARIES. - -set(test_webcore_BINARIES - LayoutUnit - KURL -) - -set(test_webkit2_api_BINARIES - CookieManager - DOMWindowExtensionNoCache - DocumentStartUserScriptAlertCrash - EvaluateJavaScript - FailedLoad - Find - FrameMIMETypeHTML - FrameMIMETypePNG - GetInjectedBundleInitializationUserDataCallback - InjectedBundleBasic - InjectedBundleInitializationUserDataCallbackWins - LoadAlternateHTMLStringWithNonDirectoryURL - LoadCanceledNoServerRedirectCallback - NewFirstVisuallyNonEmptyLayout - PageLoadBasic - PageLoadDidChangeLocationWithinPageForFrame - ParentFrame - PreventEmptyUserAgent - PrivateBrowsingPushStateNoHistoryCallback - RestoreSessionStateContainingFormData - WKConnection - WKString - WKStringJSString - WillSendSubmitEvent -) - -set(test_webkit2_api_fail_BINARIES - CanHandleRequest - DOMWindowExtensionBasic - DownloadDecideDestinationCrash - ForceRepaint - NewFirstVisuallyNonEmptyLayoutForImages - NewFirstVisuallyNonEmptyLayoutFrames - NewFirstVisuallyNonEmptyLayoutFails - ShouldGoToBackForwardListItem - WKPageGetScaleFactorNotZero -) - -# Tests disabled because of missing features on the test harness: -# -# AboutBlankLoad -# HitTestResultNodeHandle -# MouseMoveAfterCrash -# ResponsivenessTimerDoesntFireEarly -# SpacebarScrolling -# WKPreferences -# -# Flaky test, fails on Release but passes on Debug: -# -# UserMessage - - -# WebKitNix API tests -set(TestWebKitNixAPIBase_SOURCES +set(TestWebKitAPIBase_SOURCES ${test_main_SOURCES} - ${TESTWEBKITAPI_DIR}/nix/PlatformUtilitiesNix.cpp + ${TESTWEBKITAPI_DIR}/JavaScriptTest.cpp + ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp + ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp ${TESTWEBKITAPI_DIR}/nix/PageLoader.cpp - ${TOOLS_DIR}/Shared/nix/GLUtilities.cpp + ${TESTWEBKITAPI_DIR}/nix/PlatformUtilitiesNix.cpp + ${TESTWEBKITAPI_DIR}/nix/PlatformWebViewNix.cpp ${TESTWEBKITAPI_DIR}/nix/TestsControllerNix.cpp - ${TESTWEBKITAPI_DIR}/PlatformUtilities.cpp + ${TOOLS_DIR}/Shared/nix/GLUtilities.cpp ) -set(TestWebKitNixAPIBase_LIBRARIES +set(webkit2Test_LIBRARIES + TestWebKitAPIBase + WTF + WebKit2 + gtest ${PNG_LIBRARY} - ${GLIB_LIBRARIES} ) if (WTF_USE_OPENGL_ES_2) - list(APPEND TestWebKitNixAPIBase_LIBRARIES ${OPENGLES2_LIBRARIES}) + list(APPEND webkit2Test_LIBRARIES ${OPENGLES2_LIBRARIES}) include_directories(${OPENGLES2_INCLUDE_DIRS}) else () - list(APPEND TestWebKitNixAPIBase_LIBRARIES ${OPENGL_LIBRARIES}) + list(APPEND webkit2Test_LIBRARIES ${OPENGL_LIBRARIES}) include_directories(${OPENGL_INCLUDE_DIR}) endif () if (WTF_USE_EGL) - list(APPEND TestWebKitNixAPIBase_SOURCES ${TOOLS_DIR}/Shared/nix/GLUtilitiesEGL.cpp) - list(APPEND TestWebKitNixAPIBase_LIBRARIES ${EGL_LIBRARY}) + list(APPEND TestWebKitAPIBase_SOURCES ${TOOLS_DIR}/Shared/nix/GLUtilitiesEGL.cpp) + list(APPEND webkit2Test_LIBRARIES ${EGL_LIBRARY}) else () - list(APPEND TestWebKitNixAPIBase_SOURCES ${TOOLS_DIR}/Shared/nix/GLUtilitiesGLX.cpp) + list(APPEND TestWebKitAPIBase_SOURCES ${TOOLS_DIR}/Shared/nix/GLUtilitiesGLX.cpp) endif () -add_library(TestWebKitNixAPIBase ${TestWebKitNixAPIBase_SOURCES}) -target_link_libraries(TestWebKitNixAPIBase ${TestWebKitNixAPIBase_LIBRARIES}) -add_dependencies(TestWebKitNixAPIBase WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME}) - -list(APPEND bundle_harness_SOURCES - ${TESTWEBKITAPI_DIR}/Tests/nix/WebThemeEngine_Bundle.cpp - ${TESTWEBKITAPI_DIR}/Tests/nix/WebViewWebProcessCrashed_Bundle.cpp - ${TESTWEBKITAPI_DIR}/Tests/nix/WebWorker_Bundle.cpp -) - -include_directories( - ${TESTWEBKITAPI_DIR}/nix - ${TOOLS_DIR}/Shared/nix -) - -set(test_webkitnix_api_LIBRARIES - TestWebKitNixAPIBase - ${CAIRO_LIBRARIES} - WebKit2 - gtest +set(webcoreTestList + LayoutUnit + KURL ) -set(test_webkitnix_api_BINARIES - SuspendResume - WebThemeEngine - WebViewPaintToCurrentGLContext - WebViewTranslated - WebViewViewport - WebViewFindZoomableArea - WebViewTranslatedScaled - WebViewUpdateTextInputState - WebWorker - WebViewWebProcessCrashed +set(webkit2TestList + WebKit2/CookieManager + WebKit2/DOMWindowExtensionNoCache + WebKit2/DocumentStartUserScriptAlertCrash + WebKit2/EvaluateJavaScript + WebKit2/FailedLoad + WebKit2/Find + WebKit2/FrameMIMETypeHTML + WebKit2/FrameMIMETypePNG + WebKit2/GetInjectedBundleInitializationUserDataCallback + WebKit2/InjectedBundleBasic + WebKit2/InjectedBundleInitializationUserDataCallbackWins + WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL + WebKit2/LoadCanceledNoServerRedirectCallback + WebKit2/NewFirstVisuallyNonEmptyLayout + WebKit2/PageLoadBasic + WebKit2/PageLoadDidChangeLocationWithinPageForFrame + WebKit2/ParentFrame + WebKit2/PreventEmptyUserAgent + WebKit2/PrivateBrowsingPushStateNoHistoryCallback + WebKit2/RestoreSessionStateContainingFormData + WebKit2/WKConnection + WebKit2/WKString + WebKit2/WKStringJSString + WebKit2/WillSendSubmitEvent + nix/SuspendResume + nix/WebThemeEngine + nix/WebViewFindZoomableArea + nix/WebViewPaintToCurrentGLContext + nix/WebViewTranslated + nix/WebViewTranslatedScaled + nix/WebViewUpdateTextInputState + nix/WebViewViewport + nix/WebViewWebProcessCrashed + nix/WebWorker ) -set(test_webkitnix_api_fail_BINARIES +set(webkit2FailTestList + WebKit2/CanHandleRequest + WebKit2/DOMWindowExtensionBasic + WebKit2/DownloadDecideDestinationCrash + WebKit2/ForceRepaint + WebKit2/NewFirstVisuallyNonEmptyLayoutForImages + WebKit2/NewFirstVisuallyNonEmptyLayoutFrames + WebKit2/NewFirstVisuallyNonEmptyLayoutFails + WebKit2/ShouldGoToBackForwardListItem + WebKit2/WKPageGetScaleFactorNotZero ) -foreach(testName ${test_webkitnix_api_BINARIES}) - add_executable(test_webkitnix_api_${testName} ${TESTWEBKITAPI_DIR}/Tests/nix/${testName}.cpp) - add_test(test_webkitnix_api_${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_webkitnix_api_${testName}) - set_tests_properties(test_webkitnix_api_${testName} PROPERTIES TIMEOUT 60) - target_link_libraries(test_webkitnix_api_${testName} ${test_webkitnix_api_LIBRARIES}) -endforeach() - -# We don't run tests that are expected to fail. We could use the WILL_FAIL -# property, but it reports failure when the test crashes or timeouts and would -# make the bot red. - -foreach(testName ${test_webkitnix_api_fail_BINARIES}) - add_executable(test_webkitnix_api_fail_${testName} ${TESTWEBKITAPI_DIR}/Tests/nix/${testName}.cpp) - target_link_libraries(test_webkitnix_api_fail_${testName} ${test_webkitnix_api_LIBRARIES}) -endforeach() +# Tests disabled because of missing features on the test harness: +# +# WebKit2/AboutBlankLoad +# WebKit2/HitTestResultNodeHandle +# WebKit2/MouseMoveAfterCrash +# WebKit2/ResponsivenessTimerDoesntFireEarly +# WebKit2/SpacebarScrolling +# WebKit2/WKPreferences +# +# Flaky test, fails on Release but passes on Debug: +# +# WebKit2/UserMessage