Fix tool stdio level parsing for OOM level.

Backend was enhanced to allow this in #5196 and a new entry point to setting exit code for such exit conditions but the custom parsing wasn't updated to allow it. Thanks to @nsoranzo for the catch.
This commit is contained in:
John Chilton
2018-02-05 12:18:22 -05:00
parent 2cb3af5d60
commit 2f020ef944
+2
View File
@@ -857,6 +857,8 @@ class StdioParser(object):
return_level = StdioErrorLevel.LOG
elif (re.search("warning", err_level, re.IGNORECASE)):
return_level = StdioErrorLevel.WARNING
elif (re.search("fatal_oom", err_level, re.IGNORECASE)):
return_level = StdioErrorLevel.FATAL_OOM
elif (re.search("fatal", err_level, re.IGNORECASE)):
return_level = StdioErrorLevel.FATAL
else: