diff options
author | Vinson Lee <vlee@vmware.com> | 2011-04-21 15:29:51 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-04-21 15:29:51 -0700 |
commit | f92f03a1b33ee367f271de510a87d42d285bce2c (patch) | |
tree | a3df76d4d9bb0fd282b23501c333e9934665f87f | |
parent | da5d9a705112c3b3d7e9d92e8d1ea4a9971fc723 (diff) |
core: Add Windows EXCEPTION_INT_DIVIDE_BY_ZERO exceptions to crashes.
-rw-r--r-- | framework/exectest.py | 6 | ||||
-rw-r--r-- | framework/gleantest.py | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/framework/exectest.py b/framework/exectest.py index 86fda2628..c80c15604 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -82,7 +82,11 @@ class PlainExecTest(Test): results['result'] = 'crash' elif proc.returncode == -1073741819: # 0xc0000005 - # Windows access violation + # Windows EXCEPTION_ACCESS_VIOLATION + results['result'] = 'crash' + elif proc.returncode == -1073741676: + # 0xc0000094 + # Windows EXCEPTION_INT_DIVIDE_BY_ZERO results['result'] = 'crash' elif proc.returncode != 0: results['result'] = 'fail' diff --git a/framework/gleantest.py b/framework/gleantest.py index 0cbabb563..e4907b385 100644 --- a/framework/gleantest.py +++ b/framework/gleantest.py @@ -77,7 +77,11 @@ class GleanTest(Test): results['result'] = 'crash' elif glean.returncode == -1073741819: # 0xc0000005 - # Windows access violation + # Windows EXCEPTION_ACCESS_VIOLATION + results['result'] = 'crash' + elif glean.returncode == -1073741676: + # 0xc0000094 + # Windows EXCEPTION_INT_DIVIDE_BY_ZERO results['result'] = 'crash' elif glean.returncode != 0 or out.find('FAIL') >= 0: results['result'] = 'fail' |