This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: comparing DejaGNU results


On Jun 1, 2006, at 1:45 AM, Richard Earnshaw wrote:
The only problem I have with Mike's script is that it doesn't handle
runs with multiple multi-lib variants nicely.

Yeah, in the past, we drove the multilib pass from above as in general we had to select different hardware for testing. I like the idea.


Attached is a local hack that I have to address this

Let's see if anyone can spot any non-portabilities in it. I think it is safe. If safe, I'd say let's add this, as it helps.


I do have a slight additional change:

--- cmp_logs.~2~ 2006-06-01 09:41:12.000000000 -0700
+++ cmp_logs 2006-06-01 10:05:56.000000000 -0700
@@ -25,2 +25,2 @@
-sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} {sub(/: /, "&"target": " ); print $0;}' >$tmp1
-sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} {sub(/: /, "&"target": " ); print $0;}' >$tmp2
+sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$1" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' >$tmp1
+sed 's/^XFAIL/FAIL/; s/^XPASS/PASS/' < "$2" | awk '/^Running target / {target = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' >$tmp2


This preserves the simplicity in the non-multilib case and keeps future results comparable with older results.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]