Windows exit codes should be displayed as hex codes and decoded #15261
Labels
area-infrastructure
Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Windows exit codes are a 32-bit unsigned integer and frequently the MSB is set (I believe this happens when there is a crash). This means that reporting it as a signed value is confusing. See issue #15139.
Instead the signed value should follow the Windows convention of printing a 8 digit hex code, possibly prefixed by 0x to avoid confusion between Unix and Windows.
In addition, the test runner should attempt to decode the exit code using err.exe (http://www.microsoft.com/en-us/download/details.aspx?id=985). We should be able to ensure that err.exe is available on the build bots.
If err.exe isn't available, the test runner should suggest downloading it.
The text was updated successfully, but these errors were encountered: