Changeset 112580 in webkit


Ignore:
Timestamp:
Mar 29, 2012 2:48:38 PM (12 years ago)
Author:
Simon Fraser
Message:

Scripts fail to detect when a tool crashes
https://bugs.webkit.org/show_bug.cgi?id=82659

Reviewed by Mark Rowe.

Have exitStatus() detect when the process fail to exit cleanly
(possibly because of a crash), and return a non-zero exit code
in that case.

  • Scripts/VCSUtils.pm:

(exitStatus):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r112567 r112580  
     12012-03-29  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Scripts fail to detect when a tool crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=82659
     5
     6        Reviewed by Mark Rowe.
     7       
     8        Have exitStatus() detect when the process fail to exit cleanly
     9        (possibly because of a crash), and return a non-zero exit code
     10        in that case.
     11
     12        * Scripts/VCSUtils.pm:
     13        (exitStatus):
     14
    1152012-03-29  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
    216
  • trunk/Tools/Scripts/VCSUtils.pm

    r111804 r112580  
    121121        return $returnvalue >> 8;
    122122    }
     123    if (!WIFEXITED($returnvalue)) {
     124        return 254;
     125    }
    123126    return WEXITSTATUS($returnvalue);
    124127}
Note: See TracChangeset for help on using the changeset viewer.