Title: [161517] trunk/Tools
Revision
161517
Author
[email protected]
Date
2014-01-08 13:03:43 -0800 (Wed, 08 Jan 2014)

Log Message

Unreviewed. Attempting to fix webkitpy tests after r161512.

* Scripts/webkitpy/port/gtk.py:
(GtkPort.__init__): Construct LeakDetectorValgrin only if leak detection is enabled.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (161516 => 161517)


--- trunk/Tools/ChangeLog	2014-01-08 20:44:42 UTC (rev 161516)
+++ trunk/Tools/ChangeLog	2014-01-08 21:03:43 UTC (rev 161517)
@@ -1,3 +1,10 @@
+2014-01-08  Zan Dobersek  <[email protected]>
+
+        Unreviewed. Attempting to fix webkitpy tests after r161512.
+
+        * Scripts/webkitpy/port/gtk.py:
+        (GtkPort.__init__): Construct LeakDetectorValgrin only if leak detection is enabled.
+
 2014-01-08  Brian Holt  <[email protected]>
 
         [GTK] Parse Valgrind xml leak files

Modified: trunk/Tools/Scripts/webkitpy/port/gtk.py (161516 => 161517)


--- trunk/Tools/Scripts/webkitpy/port/gtk.py	2014-01-08 20:44:42 UTC (rev 161516)
+++ trunk/Tools/Scripts/webkitpy/port/gtk.py	2014-01-08 21:03:43 UTC (rev 161517)
@@ -47,9 +47,9 @@
     def __init__(self, *args, **kwargs):
         super(GtkPort, self).__init__(*args, **kwargs)
         self._pulseaudio_sanitizer = PulseAudioSanitizer()
-        self._leakdetector = LeakDetectorValgrind(self._filesystem, self.results_directory())
 
         if self.get_option("leaks"):
+            self._leakdetector = LeakDetectorValgrind(self._filesystem, self.results_directory())
             if not self.get_option("wrapper"):
                 raise ValueError('use --wrapper=\"valgrind\" for memory leak detection on GTK')
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to