Title: [220126] trunk/Tools
Revision
220126
Author
[email protected]
Date
2017-08-02 01:45:15 -0700 (Wed, 02 Aug 2017)

Log Message

[CMake] Remove obsolete code in TestWebKitAPI/CMakeLists.txt
https://bugs.webkit.org/show_bug.cgi?id=175019

Reviewed by Darin Adler.

* TestWebKitAPI/CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (220125 => 220126)


--- trunk/Tools/ChangeLog	2017-08-02 06:45:23 UTC (rev 220125)
+++ trunk/Tools/ChangeLog	2017-08-02 08:45:15 UTC (rev 220126)
@@ -1,3 +1,12 @@
+2017-08-02  Michael Catanzaro  <[email protected]>
+
+        [CMake] Remove obsolete code in TestWebKitAPI/CMakeLists.txt
+        https://bugs.webkit.org/show_bug.cgi?id=175019
+
+        Reviewed by Darin Adler.
+
+        * TestWebKitAPI/CMakeLists.txt:
+
 2017-08-01  Csaba Osztrogonác  <[email protected]>
 
         Enabling uploading archives to S3

Modified: trunk/Tools/TestWebKitAPI/CMakeLists.txt (220125 => 220126)


--- trunk/Tools/TestWebKitAPI/CMakeLists.txt	2017-08-02 06:45:23 UTC (rev 220125)
+++ trunk/Tools/TestWebKitAPI/CMakeLists.txt	2017-08-02 08:45:15 UTC (rev 220126)
@@ -183,17 +183,6 @@
     RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY_WTF}
 )
 
-# FIXME: EFL is the only port that separates the WebCore binaries. Each port ought to do closer to the same thing.
-foreach (testName ${test_webcore_BINARIES})
-    add_executable(${testName} ${test_main_SOURCES} ${TESTWEBKITAPI_DIR}/TestsController.cpp ${TESTWEBKITAPI_DIR}/Tests/WebCore/${testName}.cpp)
-    add_test(${testName} ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore/${testName})
-    set_tests_properties(${testName} PROPERTIES TIMEOUT 60)
-    target_link_libraries(${testName} ${test_webcore_LIBRARIES})
-    set_target_properties(${testName} PROPERTIES
-        RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore
-    )
-endforeach ()
-
 if (ENABLE_WEBKIT)
     add_library(TestWebKitAPIBase
         ${test_main_SOURCES}
@@ -206,26 +195,4 @@
     target_link_libraries(TestWebKitAPIBase _javascript_Core WTF WebKit2 gtest)
 
     add_dependencies(TestWebKitAPIBase WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME})
-
-    foreach (testName ${test_webkit2_api_BINARIES})
-        get_filename_component(testBaseName ${testName} NAME)
-        add_executable(${testBaseName} ${TESTWEBKITAPI_DIR}/Tests/WebKit/${testName}.cpp)
-        add_test(${testBaseName} ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebKit/${testBaseName})
-        set_tests_properties(${testBaseName} PROPERTIES TIMEOUT 60)
-        target_link_libraries(${testBaseName} ${test_webkit2_api_LIBRARIES})
-        set_target_properties(${testBaseName} PROPERTIES
-            RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebKit
-        )
-    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(${testName} ${TESTWEBKITAPI_DIR}/Tests/WebKit/${testName}.cpp)
-        target_link_libraries(${testName} ${test_webkit2_api_LIBRARIES})
-        set_target_properties(${testName} PROPERTIES
-            RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebKit/failure
-        )
-    endforeach ()
 endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to