Fix variant selection in dg-cmp-results.sh

2017-06-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    contrib/
    * dg-cmp-results.sh: Restore filtering on target variant.

From-SVN: r249463
This commit is contained in:
Thomas Preud'homme 2017-06-21 16:20:57 +00:00 committed by Thomas Preud'homme
parent 827c925e6a
commit 1e55769b15
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
* dg-cmp-results.sh: Restore filtering on target variant.
2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
* dg-cmp-results.sh: Keep test result lines rather than throwing

View File

@ -90,7 +90,7 @@ echo "Newer log file: $NFILE"
sed $E -e '/^[[:space:]]+===/,$d' $NFILE
# Create a temporary file from the old file's interesting section.
sed $E -e '/^Running target /,/^[[:space:]]+===.*Summary ===/!d' \
sed $E -e "/$header/,/^[[:space:]]+===.*Summary ===/!d" \
-e '/^[A-Z]+:/!d' \
-e '/^(WARNING|ERROR):/d' \
-e 's/\r$//' \
@ -100,7 +100,7 @@ sed $E -e '/^Running target /,/^[[:space:]]+===.*Summary ===/!d' \
>/tmp/o$$-$OBASE
# Create a temporary file from the new file's interesting section.
sed $E -e '/^Running target /,/^[[:space:]]+===.*Summary ===/!d' \
sed $E -e "/$header/,/^[[:space:]]+===.*Summary ===/!d" \
-e '/^[A-Z]+:/!d' \
-e '/^(WARNING|ERROR):/d' \
-e 's/\r$//' \