gcc/contrib/reghunt/examples/reg-watch.awk
Janis Johnson 883935fd20 examples: New directory.
* examples: New directory.
	* examples/gcc-svn-env: New.
	* examples/reg-watch: New.
	* examples/reg-watch.awk: New.
	* examples/common.config: New.
	* examples/testall: New.
	* examples/28970.config: New.
	* examples/28970.list: New.
	* examples/28970.c: New.
	* examples/28970.log: New.
	* examples/29106.config: New.
	* examples/29106.list: New.
	* examples/29106.test: New.
	* examples/29106.cc: New.
	* examples/29106.log: New.
	* examples/29478.config: New.
	* examples/29478.list: New.
	* examples/29478.c: New.
	* examples/29478.log: New.
	* examples/29906a.config: New.
	* examples/29906a.list: New.
	* examples/29906a.cc: New.
	* examples/29906a.log: New.
	* examples/29906b.config: New.
	* examples/29906b.list: New.
	* examples/29906b.cc: New.
	* examples/29906b.log: New.
	* examples/30643.config: New.
	* examples/30643.list: New.
	* examples/30643.c: New.
	* examples/30643.test: New.
	* examples/30643.log: New.

From-SVN: r144242
2009-02-17 18:45:27 +00:00

39 lines
770 B
Awk
Executable File

/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
}