diff options
-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' |