Title: [105957] trunk/Tools
Revision
105957
Author
[email protected]
Date
2012-01-25 17:59:39 -0800 (Wed, 25 Jan 2012)

Log Message

nrwt: running w/ no arguments fails
https://bugs.webkit.org/show_bug.cgi?id=77064

Unreviewed, build fix.

This change fixes a regression introduced in r105944
where running without --platform <foo> or one of the other
platform switches would cause a null deref :(.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (105956 => 105957)


--- trunk/Tools/ChangeLog	2012-01-26 01:56:11 UTC (rev 105956)
+++ trunk/Tools/ChangeLog	2012-01-26 01:59:39 UTC (rev 105957)
@@ -1,3 +1,17 @@
+2012-01-25  Dirk Pranke  <[email protected]>
+
+        nrwt: running w/ no arguments fails
+        https://bugs.webkit.org/show_bug.cgi?id=77064
+
+        Unreviewed, build fix.
+
+        This change fixes a regression introduced in r105944
+        where running without --platform <foo> or one of the other
+        platform switches would cause a null deref :(.
+
+        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
+        (main):
+
 2012-01-25  Eric Seidel  <[email protected]>
 
         Automatically CC someone from Apple on any changes to Obj-C public API

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py (105956 => 105957)


--- trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py	2012-01-26 01:56:11 UTC (rev 105956)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py	2012-01-26 01:59:39 UTC (rev 105957)
@@ -452,7 +452,7 @@
 
 def main():
     options, args = parse_args()
-    if options.platform.startswith('test'):
+    if options.platform and options.platform.startswith('test'):
         # It's a bit lame to import mocks into real code, but this allows the user
         # to run tests against the test platform interactively, which is useful for
         # debugging test failures.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to