добавил в шаблоны падения
"fatal error" "unknown error class" "failed"
This commit is contained in:
@@ -1061,14 +1061,11 @@ public class Utils {
|
||||
}
|
||||
//--
|
||||
public static boolean isCrushedLine(String line) {
|
||||
return line.contains("RTS err")
|
||||
|| line.contains("RTS stack trace")
|
||||
|| line.contains("RTS fatal err")
|
||||
|| line.contains("SIGEGV")
|
||||
|| line.contains("There are not enough slots available in the system to satisfy the")
|
||||
|| line.contains("forrtl: severe")
|
||||
|| line.contains("invalid pointer")
|
||||
|| line.contains("forrtl: error");
|
||||
String l_line=line.toLowerCase();
|
||||
for (String crushed : Constants.crushed_cases)
|
||||
if (l_line.contains(crushed))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
public static boolean isCrushed(List<String> output_lines, List<String> errors_lines) {
|
||||
return output_lines.stream().anyMatch(Utils::isCrushedLine) || errors_lines.stream().anyMatch(Utils::isCrushedLine);
|
||||
|
||||
Reference in New Issue
Block a user