Title: [176925] trunk/Tools
Revision
176925
Author
[email protected]
Date
2014-12-07 10:11:22 -0800 (Sun, 07 Dec 2014)

Log Message

[GTK] Fix GObject DOM bindings API break tests after r176920
https://bugs.webkit.org/show_bug.cgi?id=139368

Reviewed by Gustavo Noronha Silva.

Remove the @version from the symbol name before comparing.

* gtk/check-for-webkitdom-api-breaks:
(read_expected_api):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (176924 => 176925)


--- trunk/Tools/ChangeLog	2014-12-07 17:28:01 UTC (rev 176924)
+++ trunk/Tools/ChangeLog	2014-12-07 18:11:22 UTC (rev 176925)
@@ -1,5 +1,17 @@
 2014-12-07  Carlos Garcia Campos  <[email protected]>
 
+        [GTK] Fix GObject DOM bindings API break tests after r176920
+        https://bugs.webkit.org/show_bug.cgi?id=139368
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Remove the @version from the symbol name before comparing.
+
+        * gtk/check-for-webkitdom-api-breaks:
+        (read_expected_api):
+
+2014-12-07  Carlos Garcia Campos  <[email protected]>
+
         Remove the option to automatically update the GObject DOM bindings symbols file
         https://bugs.webkit.org/show_bug.cgi?id=139366
 

Modified: trunk/Tools/gtk/check-for-webkitdom-api-breaks (176924 => 176925)


--- trunk/Tools/gtk/check-for-webkitdom-api-breaks	2014-12-07 17:28:01 UTC (rev 176924)
+++ trunk/Tools/gtk/check-for-webkitdom-api-breaks	2014-12-07 18:11:22 UTC (rev 176925)
@@ -32,7 +32,7 @@
 
 def read_expected_api():
     with open(EXPECTED_API_PATH) as file_handle:
-        return set(file_handle.readlines())
+        return set([symbol.strip('\n').split('@', 1)[0] + '\n' for symbol in file_handle.readlines()])
 
 def check_api(expected_api, built_api):
     missing_api = expected_api.difference(built_api)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to