Unreviewed. The WPE port should build TestWebKitAPI with the same
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2017 06:45:42 +0000 (06:45 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2017 06:45:42 +0000 (06:45 +0000)
compiler flags as the GTK+ port, disabling a few flags that are
sprouting a lot of warning output.

* TestWebKitAPI/PlatformWPE.cmake:

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

Tools/ChangeLog
Tools/TestWebKitAPI/PlatformWPE.cmake

index f0a7176..70b065b 100644 (file)
@@ -1,3 +1,11 @@
+2017-08-22  Zan Dobersek  <zdobersek@igalia.com>
+
+        Unreviewed. The WPE port should build TestWebKitAPI with the same
+        compiler flags as the GTK+ port, disabling a few flags that are
+        sprouting a lot of warning output.
+
+        * TestWebKitAPI/PlatformWPE.cmake:
+
 2017-08-20  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [iOS WK2] WKWebView schedules nonstop layout after pressing cmb+b,i,u inside a contenteditable div
index b978475..118cd12 100644 (file)
@@ -58,3 +58,9 @@ add_dependencies(TestWebCore ${ForwardingHeadersForTestWebKitAPI_NAME})
 add_test(TestWebCore ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore/TestWebCore)
 set_tests_properties(TestWebCore PROPERTIES TIMEOUT 60)
 set_target_properties(TestWebCore PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore)
+
+if (COMPILER_IS_GCC_OR_CLANG)
+    WEBKIT_ADD_TARGET_CXX_FLAGS(TestWebCore -Wno-sign-compare
+                                            -Wno-undef
+                                            -Wno-unused-parameter)
+endif ()