Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/contrib/reghunt/examples/reg-watch.awk
2023-03-06 14:48:14 +01:00

38 lines
770 B
Awk

/result for low patch/ {
sub(".*low patch ","")
sub(" is as expected","")
printf ("<-- %4s\n", $0);
next
}
/result for high patch/ {
sub(".*high patch ","")
sub(" is as expected","")
printf (" %4s -->\n", $0);
next
}
/patches later/ {
sub(".*later than ","")
printf ("<-- %4s\n", $0);
next
}
/patches earlier/ {
sub(".*earlier than ","")
printf (" %4s -->\n", $0);
next
}
/build failed for/ {
sub(".*build failed for ","")
printf (" [%4s]\n", $0);
next
}
/HIGH_PATCH/ {
printf ("* stopped early *\n")
next
}
/changes with/ {
sub(".*changes with id ","")
printf ("+----------+\n")
printf ("| %4s |\n", $0)
printf ("+----------+\n")
next
}