Commit 1e55769b by Thomas Preud'homme Committed by Thomas Preud'homme

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
parent 827c925e
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> 2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
* dg-cmp-results.sh: Keep test result lines rather than throwing * dg-cmp-results.sh: Keep test result lines rather than throwing
......
...@@ -90,7 +90,7 @@ echo "Newer log file: $NFILE" ...@@ -90,7 +90,7 @@ echo "Newer log file: $NFILE"
sed $E -e '/^[[:space:]]+===/,$d' $NFILE sed $E -e '/^[[:space:]]+===/,$d' $NFILE
# Create a temporary file from the old file's interesting section. # 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 '/^[A-Z]+:/!d' \
-e '/^(WARNING|ERROR):/d' \ -e '/^(WARNING|ERROR):/d' \
-e 's/\r$//' \ -e 's/\r$//' \
...@@ -100,7 +100,7 @@ sed $E -e '/^Running target /,/^[[:space:]]+===.*Summary ===/!d' \ ...@@ -100,7 +100,7 @@ sed $E -e '/^Running target /,/^[[:space:]]+===.*Summary ===/!d' \
>/tmp/o$$-$OBASE >/tmp/o$$-$OBASE
# Create a temporary file from the new file's interesting section. # 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 '/^[A-Z]+:/!d' \
-e '/^(WARNING|ERROR):/d' \ -e '/^(WARNING|ERROR):/d' \
-e 's/\r$//' \ -e 's/\r$//' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment