REGRESSION(r102105): run-bindings-tests should output full diff results
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Dec 2011 09:15:59 +0000 (09:15 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Dec 2011 09:15:59 +0000 (09:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=74166

Reviewed by Adam Barth.

Since r102105, the output of run-bindings-tests is truncated to 500 characters.
run-bindings-tests should output full diff results.

* Scripts/webkitpy/bindings/main.py: Replaced e.message_with_output() with e.output.
(BindingsTests.generate_from_idl):
(BindingsTests.generate_supplemental_dependency):
(BindingsTests.detect_changes):

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

Tools/ChangeLog
Tools/Scripts/webkitpy/bindings/main.py

index aba1d66..72e5707 100644 (file)
@@ -1,3 +1,18 @@
+2011-12-09  Kentaro Hara  <haraken@chromium.org>
+
+        REGRESSION(r102105): run-bindings-tests should output full diff results
+        https://bugs.webkit.org/show_bug.cgi?id=74166
+
+        Reviewed by Adam Barth.
+
+        Since r102105, the output of run-bindings-tests is truncated to 500 characters.
+        run-bindings-tests should output full diff results.
+
+        * Scripts/webkitpy/bindings/main.py: Replaced e.message_with_output() with e.output.
+        (BindingsTests.generate_from_idl):
+        (BindingsTests.generate_supplemental_dependency):
+        (BindingsTests.detect_changes):
+
 2011-12-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
         [Qt] Fix compilation with newly separated Qt 5 QtQuick module
index 820ad2b..2268b9f 100644 (file)
@@ -58,7 +58,7 @@ class BindingsTests:
             if output:
                 print output
         except ScriptError, e:
-            print e.message_with_output()
+            print e.output
             exit_code = e.exit_code
         return exit_code
 
@@ -84,7 +84,7 @@ class BindingsTests:
             if output:
                 print output
         except ScriptError, e:
-            print e.message_with_output()
+            print e.output
             exit_code = e.exit_code
         os.remove(idl_files_list[1])
         return exit_code
@@ -102,7 +102,7 @@ class BindingsTests:
             try:
                 output = self.executive.run_command(cmd)
             except ScriptError, e:
-                output = e.message_with_output()
+                output = e.output
                 exit_code = e.exit_code
 
             if exit_code or output: