From 95022573a453e4015b2f2975ded069ebac03b8dc Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 15 Apr 2011 18:11:16 -0700 Subject: core: Add POSIX SIGFPE arithmetic exceptions as crashes. --- framework/exectest.py | 2 +- framework/gleantest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') 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 -- cgit v1.2.3