diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-02-29 16:18:32 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-06 01:31:26 +0100 |
commit | f185edb5d9f0d65c6e2dd076c83d15beb2302d13 (patch) | |
tree | 464cf113037d68dab5b38b364fd3a7329bd9903b /.gitignore | |
parent | 0812e0706cafa5ca3100212f84746b1cceeb2a03 (diff) |
testrunner: improve output when tests crash on Windows
Previously, crashing tests on Windows would be treated just like
any other test exiting with a non-zero exit code; i.e. no additional
information would be printed.
Update testrunner to follow the same conventions as used by Windows
crash dialogs: present the exit code in hex form, along with the
symbol matching that exit code (if available).
This gives output of the form:
Process exited with exit code 0xC0000005 (STATUS_ACCESS_VIOLATION)
The crash selftests, which previously used "kill 11, $$" to simulate
a crash, were updated to use genuine invalid pointer dereferences,
as "kill 11, $$" is not a valid way to induce a crash on Windows.
A "division by zero" crash selftest was also added, to test at least
one type of crash other than an invalid memory access.
Change-Id: Ibde889abd5b2a35550cb596bd5770d98807e0ea9
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -257,3 +257,6 @@ src/xml/lib/ *.dep *.map work + +# Build artifacts from Inline::C +_Inline/ |