This is mainly for easy detection of known issues,
so only new or unsure failures need closer investigation.
Change-Id: I6ebae2a0917ad229f9cfef5e56614b0a0ca73474
Signed-off-by: Vratko Polak <[email protected]>
if fgrep -q ', 0 failed' "final.txt"; then
echo -ne "${i}: skip ${final}\t\t"
else
+ echo
+# fgrep '| FAIL' "console.log" | fgrep -v 'Tests'
+
+ awk '
+ /\| FAIL \|/ {
+ if ($0 !~ /Tests/) {
+ print
+ getline
+ while ($0 !~ /^[-=]+$/) {
+ last_line = $0
+ getline
+ }
+ print last_line
+ }
+ }
+ ' "console.log"
+
echo -ne "${i}: investigate ${final}\t\t"
fi
# TODO: Simplify this topology detection.