Title: [136591] trunk/Tools
Revision
136591
Author
dpra...@chromium.org
Date
2012-12-04 16:32:46 -0800 (Tue, 04 Dec 2012)

Log Message

nrwt is not returning the exit status properly
https://bugs.webkit.org/show_bug.cgi?id=103830

Unreviewed, build fix.

The fix in r136474 wasn't quite right either, and would return
the correct exceptional status, but not the correct failing status.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (136590 => 136591)


--- trunk/Tools/ChangeLog	2012-12-05 00:32:32 UTC (rev 136590)
+++ trunk/Tools/ChangeLog	2012-12-05 00:32:46 UTC (rev 136591)
@@ -1,5 +1,17 @@
 2012-12-04  Dirk Pranke  <dpra...@chromium.org>
 
+        nrwt is not returning the exit status properly
+        https://bugs.webkit.org/show_bug.cgi?id=103830
+
+        Unreviewed, build fix.
+
+        The fix in r136474 wasn't quite right either, and would return
+        the correct exceptional status, but not the correct failing status.
+
+        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
+
+2012-12-04  Dirk Pranke  <dpra...@chromium.org>
+
         nrwt: make paths and test_names passed arguments in Manager._prepare_lists et al
         https://bugs.webkit.org/show_bug.cgi?id=104047
 

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py (136590 => 136591)


--- trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py	2012-12-05 00:32:32 UTC (rev 136590)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py	2012-12-05 00:32:46 UTC (rev 136591)
@@ -431,9 +431,9 @@
 
 if '__main__' == __name__:
     try:
-        sys.exit(main())
+        exit_status = main()
     except KeyboardInterrupt:
-        sys.exit(INTERRUPTED_EXIT_STATUS)
+        exit_status = INTERRUPTED_EXIT_STATUS
     except BaseException, e:
-        if e.__class__ is not SystemExit:
-            sys.exit(EXCEPTIONAL_EXIT_STATUS)
+        exit_status = EXCEPTIONAL_EXIT_STATUS
+    sys.exit(exit_status)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to