Title: [132984] trunk/Tools
- Revision
- 132984
- Author
- [email protected]
- Date
- 2012-10-30 22:45:00 -0700 (Tue, 30 Oct 2012)
Log Message
Fix broken python unit test
https://bugs.webkit.org/show_bug.cgi?id=100810
Patch by Kangil Han <[email protected]> on 2012-10-30
Reviewed by Dirk Pranke.
BUG 100755 has broken python unit test, e.g. assertion fail, since it modified baseline path.
Therefore, this patch fixes it.
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(TestRebaselineTest.test_baseline_directory):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (132983 => 132984)
--- trunk/Tools/ChangeLog 2012-10-31 05:19:21 UTC (rev 132983)
+++ trunk/Tools/ChangeLog 2012-10-31 05:45:00 UTC (rev 132984)
@@ -1,3 +1,16 @@
+2012-10-30 Kangil Han <[email protected]>
+
+ Fix broken python unit test
+ https://bugs.webkit.org/show_bug.cgi?id=100810
+
+ Reviewed by Dirk Pranke.
+
+ BUG 100755 has broken python unit test, e.g. assertion fail, since it modified baseline path.
+ Therefore, this patch fixes it.
+
+ * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
+ (TestRebaselineTest.test_baseline_directory):
+
2012-10-30 Dirk Pranke <[email protected]>
webkit-patch rebaseline*: add more helpful logging
Modified: trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py (132983 => 132984)
--- trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py 2012-10-31 05:19:21 UTC (rev 132983)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py 2012-10-31 05:45:00 UTC (rev 132984)
@@ -80,7 +80,7 @@
self.assertEqual(command._baseline_directory("Apple Lion Release WK1 (Tests)"), "/mock-checkout/LayoutTests/platform/mac-lion")
self.assertEqual(command._baseline_directory("Apple Lion Release WK2 (Tests)"), "/mock-checkout/LayoutTests/platform/mac-wk2")
self.assertEqual(command._baseline_directory("GTK Linux 32-bit Release"), "/mock-checkout/LayoutTests/platform/gtk")
- self.assertEqual(command._baseline_directory("EFL Linux 64-bit Debug"), "/mock-checkout/LayoutTests/platform/efl")
+ self.assertEqual(command._baseline_directory("EFL Linux 64-bit Debug"), "/mock-checkout/LayoutTests/platform/efl-wk1")
self.assertEqual(command._baseline_directory("Qt Linux Release"), "/mock-checkout/LayoutTests/platform/qt")
self.assertEqual(command._baseline_directory("WebKit Mac10.7"), "/mock-checkout/LayoutTests/platform/chromium-mac-lion")
self.assertEqual(command._baseline_directory("WebKit Mac10.6"), "/mock-checkout/LayoutTests/platform/chromium-mac-snowleopard")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes