diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-09-20 20:14:14 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2016-09-20 22:14:14 +0200 |
commit | b0a5704b4cd613c9ce722e2a7de530ac6998cd8c (patch) | |
tree | 8b28a3b2c370a3adc8e1bec7f816f1f48510607c /contrib/compare_tests | |
parent | 605909332c908ddcdab5b4684224fcdf70a15c70 (diff) | |
download | gcc-b0a5704b4cd613c9ce722e2a7de530ac6998cd8c.zip gcc-b0a5704b4cd613c9ce722e2a7de530ac6998cd8c.tar.gz gcc-b0a5704b4cd613c9ce722e2a7de530ac6998cd8c.tar.bz2 |
Report DejaGnu ERROR messages in compare_tests
2016-09-20 Christophe Lyon <christophe.lyon@linaro.org>
* compare_tests: Take ERROR messages into account when
comparing.
From-SVN: r240288
Diffstat (limited to 'contrib/compare_tests')
-rwxr-xr-x | contrib/compare_tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compare_tests b/contrib/compare_tests index 8ecf824..d16e7e9 100755 --- a/contrib/compare_tests +++ b/contrib/compare_tests @@ -107,8 +107,8 @@ elif [ -d "$1" -o -d "$2" ] ; then usage "Must specify either two directories or two files" fi -sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp1 -sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp2 +sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp1 +sed 's/^XFAIL/FAIL/; s/^ERROR/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp2 before=$tmp1 now=$tmp2 |