[GTK] Include most of the WebKit2 unit tests into the build and testing
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 13:32:12 +0000 (13:32 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 13:32:12 +0000 (13:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=120307

Reviewed by Philippe Normand.

There are still various unit test source files that are not being included into
the build. This patch includes most of these, only leaving out tests that do not
compile or test features that are not supported by the GTK port.

* Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
(TestRunner):
* TestWebKitAPI/GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154601 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/run-gtk-tests
Tools/TestWebKitAPI/GNUmakefile.am

index f1b7c05..3b55a29 100644 (file)
@@ -1,3 +1,18 @@
+2013-08-26  Zan Dobersek  <zdobersek@igalia.com>
+
+        [GTK] Include most of the WebKit2 unit tests into the build and testing
+        https://bugs.webkit.org/show_bug.cgi?id=120307
+
+        Reviewed by Philippe Normand.
+
+        There are still various unit test source files that are not being included into
+        the build. This patch includes most of these, only leaving out tests that do not
+        compile or test features that are not supported by the GTK port.
+
+        * Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
+        (TestRunner):
+        * TestWebKitAPI/GNUmakefile.am:
+
 2013-08-26  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Allow to run tests without Xvfb in run-gtk-tests
index e3e0e08..63cd73e 100755 (executable)
@@ -81,6 +81,10 @@ class TestRunner:
         SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.WKPageGetScaleFactorNotZero", "Test fails and times out", 88455),
         SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.ForceRepaint", "Test times out", 105532),
         SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.ReloadPageAfterCrash", "Test flakily times out", 110129),
+        SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.DidAssociateFormControls", "Test times out", 120302),
+        SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.InjectedBundleFrameHitTest", "Test times out", 120303),
+        SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.ResizeReversePaginatedWebView", "Test fails", 120305),
+        SkippedTest("TestWebKitAPI/TestWebKit2", "WebKit2.ScrollPinningBehaviors", "Test fails", 120306),
     ]
 
     def __init__(self, options, tests=[]):
index 82d7bcd..2d19cf3 100644 (file)
@@ -246,8 +246,12 @@ Programs_TestWebKitAPI_TestWebKit2_SOURCES = \
        Tools/TestWebKitAPI/PlatformUtilities.cpp \
        Tools/TestWebKitAPI/PlatformUtilities.h \
        Tools/TestWebKitAPI/PlatformWebView.h \
+       Tools/TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/CookieManager.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp \
@@ -261,24 +265,29 @@ Programs_TestWebKitAPI_TestWebKit2_SOURCES = \
        Tools/TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp \
-       Tools/TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp \
-       Tools/TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/PageVisibilityState.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp \
@@ -289,7 +298,8 @@ Programs_TestWebKitAPI_TestWebKit2_SOURCES = \
        Tools/TestWebKitAPI/Tests/WebKit2/WKPageGetScaleFactorNotZero.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/WKString.cpp \
-       Tools/TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp
+       Tools/TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/WKURL.cpp
 
 if ENABLE_WEBKIT2
 noinst_LTLIBRARIES += \
@@ -304,12 +314,14 @@ Libraries_libTestWebKitAPIInjectedBundle_la_SOURCES = \
        Tools/TestWebKitAPI/PlatformUtilities.cpp \
        Tools/TestWebKitAPI/PlatformUtilities.h \
        Tools/TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp \
@@ -318,6 +330,7 @@ Libraries_libTestWebKitAPIInjectedBundle_la_SOURCES = \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp \
+       Tools/TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp \
        Tools/TestWebKitAPI/Tests/WebKit2/UserMessage_Bundle.cpp \