Fix *.log tests output containing "===".

contrib/
	Fix *.log tests output containing "===".
	* dg-extract-results.sh (/\===/): Rename to ...
	(/^\t\t=== .* ===$/): ... this pattern.

From-SVN: r157645
This commit is contained in:
Jan Kratochvil 2010-03-22 17:36:49 +00:00 committed by Jan Kratochvil
parent 0e50f3350e
commit fccff34135
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix *.log tests output containing "===".
* dg-extract-results.sh (/\===/): Rename to ...
(/^\t\t=== .* ===$/): ... this pattern.
2010-03-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2010-03-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Fix result order to match sequential case. * dg-extract-results.sh: Fix result order to match sequential case.

View File

@ -299,7 +299,7 @@ BEGIN {
next next
} }
} }
/\===/ { curvar = ""; next } /^\t\t=== .* ===$/ { curvar = ""; next }
/^(PASS|XPASS|FAIL|XFAIL|UNRESOLVED|WARNING|ERROR|UNSUPPORTED|UNTESTED|KFAIL):/ { /^(PASS|XPASS|FAIL|XFAIL|UNRESOLVED|WARNING|ERROR|UNSUPPORTED|UNTESTED|KFAIL):/ {
testname=\$2 testname=\$2
# Ugly hack for gfortran.dg/dg.exp # Ugly hack for gfortran.dg/dg.exp