diff options
author | Vinson Lee <vlee@vmware.com> | 2011-04-11 19:59:50 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-04-11 19:59:50 -0700 |
commit | 9cfc80a4a133eb1c0bc0c5aa0642def223b83c65 (patch) | |
tree | 00e9de552c05b0c694f14a9f9e654399d5d3a87b /framework | |
parent | b3d916512433fb6bbfedb2ba2a41d0f4437a2c49 (diff) |
core: Add Windows access violations as crash results.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/exectest.py | 4 | ||||
-rw-r--r-- | framework/gleantest.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/framework/exectest.py b/framework/exectest.py index c0b7508e..95650e2b 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -80,6 +80,10 @@ class PlainExecTest(Test): results['result'] = 'abort' elif proc.returncode in (-10, -11): results['result'] = 'crash' + elif proc.returncode == -1073741819: + # 0xc0000005 + # Windows access violation + results['result'] = 'crash' elif proc.returncode != 0: results['result'] = 'fail' results['note'] = 'Returncode was %d' % (proc.returncode) diff --git a/framework/gleantest.py b/framework/gleantest.py index a6968bd5..934fdf02 100644 --- a/framework/gleantest.py +++ b/framework/gleantest.py @@ -75,6 +75,10 @@ class GleanTest(Test): results['result'] = 'abort' elif glean.returncode in (-10, -11): results['result'] = 'crash' + elif glean.returncode == -1073741819: + # 0xc0000005 + # Windows access violation + results['result'] = 'crash' elif glean.returncode != 0 or out.find('FAIL') >= 0: results['result'] = 'fail' |