dart-sdk/tools/testing
Jens Johansen 51f50fa922 [test.py] Refactor and change crash-sniffing (take #2)
test.py looks at the status code to find out if a test crashed or not.
On linux everything < 0 is a crash, but on Windows a bit pattern is
in play.
It is unclear why this is the case, but some test currently 'Fail'
(instead of the expected 'Crash') on Windows because of exit code
-1073740791 (aka 3221226505 aka 0xC0000409 aka
STATUS_STACK_BUFFER_OVERRUN
(https://msdn.microsoft.com/en-us/library/cc704588.aspx)) indicating
that something isn't quite right with the crash-sniffing on Windows.

This CL changes it to indicate a crash if the exit-code is "0xC0...",
"0x80..." or "0x40..." as listed by
https://msdn.microsoft.com/en-us/library/cc704588.aspx.

Change-Id: I6c692173c3c3b5fb6c857a55a739d8f136d662bf
Reviewed-on: https://dart-review.googlesource.com/36261
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2018-01-23 06:58:08 +00:00
..
bin Switch to downloaded SDK executable, drop executables in testing/bin. 2016-02-15 17:10:59 +01:00
dart [test.py] Refactor and change crash-sniffing (take #2) 2018-01-23 06:58:08 +00:00
extensions Add missing binary file. 2012-10-09 21:48:54 +00:00
.gitignore ignore the downloaded test bins 2015-05-13 17:11:20 +00:00
__init__.py Move BatchTester into a separate file. 2011-10-05 16:50:50 +00:00
browser_README.txt Update browser testing documentation. 2012-04-25 00:27:39 +00:00
run_selenium.py Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
webdriver_test_setup.py Build Tools Cleanup 2014-07-25 11:47:59 +00:00