diff options
author | Vinson Lee <vlee@vmware.com> | 2011-04-15 18:11:16 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-04-15 18:11:16 -0700 |
commit | 95022573a453e4015b2f2975ded069ebac03b8dc (patch) | |
tree | 7423a8a826ddd376d000484a724a0d368e38547d /framework | |
parent | 1bf3022d4d8f434bd711928f99d86ad45c7cd444 (diff) |
core: Add POSIX SIGFPE arithmetic exceptions as crashes.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/exectest.py | 2 | ||||
-rw-r--r-- | framework/gleantest.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/exectest.py b/framework/exectest.py index 95650e2b..86fda262 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -78,7 +78,7 @@ class PlainExecTest(Test): results['result'] = 'trap' elif proc.returncode == -6: results['result'] = 'abort' - elif proc.returncode in (-10, -11): + elif proc.returncode in (-8, -10, -11): results['result'] = 'crash' elif proc.returncode == -1073741819: # 0xc0000005 diff --git a/framework/gleantest.py b/framework/gleantest.py index 934fdf02..0cbabb56 100644 --- a/framework/gleantest.py +++ b/framework/gleantest.py @@ -73,7 +73,7 @@ class GleanTest(Test): results['result'] = 'trap' elif glean.returncode == -6: results['result'] = 'abort' - elif glean.returncode in (-10, -11): + elif glean.returncode in (-8, -10, -11): results['result'] = 'crash' elif glean.returncode == -1073741819: # 0xc0000005 |