Currently all tests have a dependency on each library's export macros due to includes in the config.h. Proposing we add -DBUILDING_TEST<Target> to the compile options to cut down on what is being built.
Created attachment 368476 [details] WIP Patch Just seeing how bots do
Attachment 368476 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:51: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:39 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:38: Alphabetical sorting problem. "Tests/WTF/glib/GUniquePtr.cpp" should be before "glib/UtilitiesGLib.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:46: Alphabetical sorting problem. "Tests/WebCore/gstreamer/GstMappedBuffer.cpp" should be before "glib/UtilitiesGLib.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:47: Alphabetical sorting problem. "Tests/WebCore/gstreamer/GStreamerTest.cpp" should be before "Tests/WebCore/gstreamer/GstMappedBuffer.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:54: There should be exactly one empty line instead of 0 between "glib/UtilitiesGLib.cpp" and "wpe/PlatformUtilitiesWPE.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:56: There should be exactly one empty line instead of 0 between "wpe/PlatformWebViewWPE.cpp" and "wpe/backends/ViewBackend.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:57: Alphabetical sorting problem. "wpe/backends/HeadlessViewBackend.cpp" should be before "wpe/backends/ViewBackend.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:23: No space between command "endmacro" and its parentheses, should be "endmacro(" [whitespace/parentheses] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:29: There should be exactly one empty line instead of 0 between "TestsController.cpp" and "Tests/WTF/AtomicString.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:64: Alphabetical sorting problem. "Tests/WTF/OptionSet.cpp" should be before "Tests/WTF/Optional.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:122: There should be exactly one empty line instead of 0 between "TestsController.cpp" and "Tests/WebCore/AffineTransform.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:125: Alphabetical sorting problem. "Tests/WebCore/CSSParser.cpp" should be before "Tests/WebCore/ComplexTextController.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:128: Alphabetical sorting problem. "Tests/WebCore/FloatPoint.cpp" should be before "Tests/WebCore/FloatRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:133: Alphabetical sorting problem. "Tests/WebCore/IntPoint.cpp" should be before "Tests/WebCore/IntRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:200: Alphabetical sorting problem. "Tests/WebKit/DOMWindowExtensionBasic.cpp" should be before "Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:239: Alphabetical sorting problem. "Tests/WebKit/WKPageCopySessionStateWithFiltering.cpp" should be before "Tests/WebKit/WillSendSubmitEvent.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:269: Alphabetical sorting problem. "NetworkProcess" should be before "WebProcess". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:34: Alphabetical sorting problem. "Tests/WebCore/win/DIBPixelData.cpp" should be before "win/TestWebCoreStubs.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:62: There should be exactly one empty line instead of 0 between "Tests/WebCore/CryptoDigest.cpp" and "Tests/WebCore/curl/Cookies.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:63: There should be exactly one empty line instead of 0 between "Tests/WebCore/curl/Cookies.cpp" and "Tests/WebCore/win/BitmapImage.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:99: There should be exactly one empty line instead of 0 between "Tests/WebKitLegacy/win/WebViewDestruction.cpp" and "win/HostWindow.cpp". [list/emptyline] [5] Total errors found: 21 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368478 [details] WIP Patch
Attachment 368478 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:51: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:39 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:38: Alphabetical sorting problem. "Tests/WTF/glib/GUniquePtr.cpp" should be before "glib/UtilitiesGLib.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:46: Alphabetical sorting problem. "Tests/WebCore/gstreamer/GstMappedBuffer.cpp" should be before "glib/UtilitiesGLib.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:47: Alphabetical sorting problem. "Tests/WebCore/gstreamer/GStreamerTest.cpp" should be before "Tests/WebCore/gstreamer/GstMappedBuffer.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:54: There should be exactly one empty line instead of 0 between "glib/UtilitiesGLib.cpp" and "wpe/PlatformUtilitiesWPE.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:56: There should be exactly one empty line instead of 0 between "wpe/PlatformWebViewWPE.cpp" and "wpe/backends/ViewBackend.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:57: Alphabetical sorting problem. "wpe/backends/HeadlessViewBackend.cpp" should be before "wpe/backends/ViewBackend.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:23: No space between command "endmacro" and its parentheses, should be "endmacro(" [whitespace/parentheses] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:29: There should be exactly one empty line instead of 0 between "TestsController.cpp" and "Tests/WTF/AtomicString.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:64: Alphabetical sorting problem. "Tests/WTF/OptionSet.cpp" should be before "Tests/WTF/Optional.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:122: There should be exactly one empty line instead of 0 between "TestsController.cpp" and "Tests/WebCore/AffineTransform.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:125: Alphabetical sorting problem. "Tests/WebCore/CSSParser.cpp" should be before "Tests/WebCore/ComplexTextController.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:128: Alphabetical sorting problem. "Tests/WebCore/FloatPoint.cpp" should be before "Tests/WebCore/FloatRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:133: Alphabetical sorting problem. "Tests/WebCore/IntPoint.cpp" should be before "Tests/WebCore/IntRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:200: Alphabetical sorting problem. "Tests/WebKit/DOMWindowExtensionBasic.cpp" should be before "Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:239: Alphabetical sorting problem. "Tests/WebKit/WKPageCopySessionStateWithFiltering.cpp" should be before "Tests/WebKit/WillSendSubmitEvent.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:269: Alphabetical sorting problem. "NetworkProcess" should be before "WebProcess". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:34: Alphabetical sorting problem. "Tests/WebCore/win/DIBPixelData.cpp" should be before "win/TestWebCoreStubs.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:62: There should be exactly one empty line instead of 0 between "Tests/WebCore/CryptoDigest.cpp" and "Tests/WebCore/curl/Cookies.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:63: There should be exactly one empty line instead of 0 between "Tests/WebCore/curl/Cookies.cpp" and "Tests/WebCore/win/BitmapImage.cpp". [list/emptyline] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:99: There should be exactly one empty line instead of 0 between "Tests/WebKitLegacy/win/WebViewDestruction.cpp" and "win/HostWindow.cpp". [list/emptyline] [5] Total errors found: 21 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368491 [details] WIP Patch
Attachment 368491 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:51: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:39 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:49: Alphabetical sorting problem. "Tests/WebCore/gstreamer/GStreamerTest.cpp" should be before "Tests/WebCore/gstreamer/GstMappedBuffer.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:126: Alphabetical sorting problem. "Tests/WebCore/CSSParser.cpp" should be before "Tests/WebCore/CalculationValue.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:135: Alphabetical sorting problem. "Tests/WebCore/IntPoint.cpp" should be before "Tests/WebCore/IntRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:66: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:104: No trailing spaces [whitespace/trailing] [5] Total errors found: 6 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368493 [details] WIP Patch
Attachment 368493 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:51: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:39 [build/include] [4] ERROR: Tools/TestWebKitAPI/Tests/WebCore/LineBreaking.mm:28: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:126: Alphabetical sorting problem. "Tests/WebCore/CSSParser.cpp" should be before "Tests/WebCore/CalculationValue.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/CMakeLists.txt:135: Alphabetical sorting problem. "Tests/WebCore/IntPoint.cpp" should be before "Tests/WebCore/IntRect.cpp". [list/order] [5] ERROR: Tools/TestWebKitAPI/Tests/WebCore/FileMonitor.cpp:28: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 5 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368495 [details] WIP Patch
Attachment 368495 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:49: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:39 [build/include] [4] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368497 [details] WIP Patch
Attachment 368497 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:47 [build/include] [4] Total errors found: 2 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368499 [details] WIP Patch
Attachment 368499 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:47 [build/include] [4] Total errors found: 2 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368500 [details] WIP Patch
Attachment 368500 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:47 [build/include] [4] Total errors found: 2 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368504 [details] WIP Patch
Created attachment 368506 [details] WIP Patch
Attachment 368506 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:59: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:60: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:49 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:61: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:50 [build/include] [4] Total errors found: 3 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368507 [details] WIP Patch
Attachment 368507 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:59: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:60: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:49 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:61: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:50 [build/include] [4] Total errors found: 3 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368510 [details] WIP Patch
Attachment 368510 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:49: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:60: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:61: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:50 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:62: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:64: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:54 [build/include] [4] Total errors found: 5 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368514 [details] WIP Patch
Attachment 368514 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:49: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:60: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:61: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:50 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:62: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:64: "WebKit/WebKit2_C.h" already included at Tools/TestWebKitAPI/config.h:54 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:71: No trailing spaces [whitespace/trailing] [5] Total errors found: 6 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368572 [details] WIP Patch
Attachment 368572 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:67: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:71: No trailing spaces [whitespace/trailing] [5] Total errors found: 10 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 368572 [details] WIP Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368572&action=review > Tools/TestWebKitAPI/CMakeLists.txt:4 > +add_definitions(${gtest_DEFINITIONS}) We should not use add_definitions(). Instead, gtest target should have PUBLIC (or INTERFACE) definitions, which will be used automatically for any target where gtest is linked > Tools/TestWebKitAPI/PlatformWin.cmake:10 > +add_definitions(-DSTATICALLY_LINKED_WITH_PAL=1) Use target_compile_definitions() (or COMPILE_DEFINITIONS property) instead of deprecated add_definitions()
Created attachment 368606 [details] WIP Patch
Attachment 368606 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:58: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:52: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:12: Alphabetical sorting problem. "STATICALLY_LINKED_WITH_PAL" should be before "WEBCORE_TESTSUPPORT_EXPORT". [list/order] [5] Total errors found: 11 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368616 [details] WIP Patch
Attachment 368616 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:80: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:52: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:12: Alphabetical sorting problem. "STATICALLY_LINKED_WITH_PAL" should be before "WEBCORE_TESTSUPPORT_EXPORT". [list/order] [5] Total errors found: 11 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to Konstantin Tokarev from comment #28) > Comment on attachment 368572 [details] > WIP Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=368572&action=review > > > Tools/TestWebKitAPI/CMakeLists.txt:4 > > +add_definitions(${gtest_DEFINITIONS}) > > We should not use add_definitions(). Instead, gtest target should have > PUBLIC (or INTERFACE) definitions, which will be used automatically for any > target where gtest is linked I feel that should be a separate task after this lands.
Ok
Created attachment 368629 [details] WIP Patch
Attachment 368629 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformWPE.cmake:80: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:60: No trailing spaces [whitespace/trailing] [5] ERROR: Tools/TestWebKitAPI/PlatformWin.cmake:12: Alphabetical sorting problem. "STATICALLY_LINKED_WITH_PAL" should be before "WEBCORE_TESTSUPPORT_EXPORT". [list/order] [5] Total errors found: 11 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 368641 [details] WIP Patch Think all bots will be happy after this.
Attachment 368641 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/PlatformGTK.cmake:62: No trailing spaces [whitespace/trailing] [5] Total errors found: 9 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adding some Igalia folks since to make sure that we aren't breaking their test runs. Build should be working now but I haven't run tests on anything. Can you folks make sure that the tests are running as expected?
Beware today is a holiday. I would just land it and watch https://build.webkit.org/dashboard/
Created attachment 368679 [details] Patch Think this is ready for a review.
Attachment 368679 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/config.h:50: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:56: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:57: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:58: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/TestWebKitAPI/config.h:65: "JavaScriptCore/JSExportMacros.h" already included at Tools/TestWebKitAPI/config.h:46 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:66: "WebCore/PlatformExportMacros.h" already included at Tools/TestWebKitAPI/config.h:51 [build/include] [4] ERROR: Tools/TestWebKitAPI/config.h:67: "pal/ExportMacros.h" already included at Tools/TestWebKitAPI/config.h:52 [build/include] [4] Total errors found: 8 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 368679 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368679&action=review > Tools/TestWebKitAPI/PlatformGTK.cmake:110 > + ${FORWARDING_HEADERS_DIR} Looks like something we wanted to get rid off, doesn't it?
(In reply to Konstantin Tokarev from comment #43) > Comment on attachment 368679 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=368679&action=review > > > Tools/TestWebKitAPI/PlatformGTK.cmake:110 > > + ${FORWARDING_HEADERS_DIR} > > Looks like something we wanted to get rid off, doesn't it? Windows is copying all its headers around. GTK and WPE still have the forwarding headers being generated for WebKit and some other testing stuff. I just want to leave this alone for the moment until I get WebKit fully copying headers.
Comment on attachment 368679 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368679&action=review LGTM except that letter case error > Tools/TestWebKitAPI/PlatformWin.cmake:98 > +set(TestWebcore_OUTPUT_NAME TestWebCore${DEBUG_SUFFIX}) Wrong letter case in TestWebcore_OUTPUT_NAME
Created attachment 368726 [details] Patch
Comment on attachment 368726 [details] Patch Clearing flags on attachment: 368726 Committed r244857: <https://trac.webkit.org/changeset/244857>
All reviewed patches have been landed. Closing bug.
<rdar://problem/50424785>