Title: [136351] trunk/Tools
Revision
136351
Author
[email protected]
Date
2012-12-02 12:48:09 -0800 (Sun, 02 Dec 2012)

Log Message

run-perf-tests --profile should use iprofiler instead of instruments on Mac
https://bugs.webkit.org/show_bug.cgi?id=103765

Unreviewed.  Updating the unittests after my previous change.


* Scripts/webkitpy/common/system/profiler_unittest.py:
(ProfilerFactoryTest.test_basic):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (136350 => 136351)


--- trunk/Tools/ChangeLog	2012-12-02 20:29:13 UTC (rev 136350)
+++ trunk/Tools/ChangeLog	2012-12-02 20:48:09 UTC (rev 136351)
@@ -1,3 +1,13 @@
+2012-12-02  Eric Seidel  <[email protected]>
+
+        run-perf-tests --profile should use iprofiler instead of instruments on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=103765
+
+        Unreviewed.  Updating the unittests after my previous change.
+
+        * Scripts/webkitpy/common/system/profiler_unittest.py:
+        (ProfilerFactoryTest.test_basic):
+
 2012-12-02  Julie Parent  <[email protected]>
 
         Remove dead code in flakiness dashboard for obsolete buildDir option

Modified: trunk/Tools/Scripts/webkitpy/common/system/profiler_unittest.py (136350 => 136351)


--- trunk/Tools/Scripts/webkitpy/common/system/profiler_unittest.py	2012-12-02 20:29:13 UTC (rev 136350)
+++ trunk/Tools/Scripts/webkitpy/common/system/profiler_unittest.py	2012-12-02 20:48:09 UTC (rev 136351)
@@ -30,7 +30,7 @@
 
 from webkitpy.common.system.systemhost_mock import MockSystemHost
 
-from .profiler import ProfilerFactory, Instruments, GooglePProf
+from .profiler import ProfilerFactory, GooglePProf
 
 
 class ProfilerFactoryTest(unittest.TestCase):
@@ -39,7 +39,7 @@
         self.assertFalse(host.filesystem.exists("/tmp/output"))
         profiler = ProfilerFactory.create_profiler(host, '/bin/executable', '/tmp/output')
         self.assertTrue(host.filesystem.exists("/tmp/output"))
-        self.assertEquals(profiler._output_path, "/tmp/output/test.trace")
+        self.assertEquals(profiler._output_path, "/tmp/output/test.dtps")
 
         host.platform.os_name = 'linux'
         profiler = ProfilerFactory.create_profiler(host, '/bin/executable', '/tmp/output')
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to