From: Sergio Durigan Junior <sergiodj@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Merge dg-extract-results.{sh,py} from GCC upstream
Date: Thu, 12 Feb 2015 20:47:00 -0000 [thread overview]
Message-ID: <87vbj6dfhv.fsf@redhat.com> (raw)
In-Reply-To: <54DD0F3D.6010809@redhat.com> (Pedro Alves's message of "Thu, 12 Feb 2015 20:38:21 +0000")
On Thursday, February 12 2015, Pedro Alves wrote:
> Wait, we may have gotten things backwards.
>
> Aren't we using the .sh version still?
Not if you have the Python version available. From
dg-extract-results.sh:
PROGNAME=dg-extract-results.sh
# Try to use the python version if possible, since it tends to be faster.
PYTHON_VER=`echo "$0" | sed 's/sh$/py/'`
if test "$PYTHON_VER" != "$0" &&
test -f "$PYTHON_VER" &&
python -c 'import sys; sys.exit (0 if sys.version_info >= (2, 6) else 1)' \
> /dev/null 2> /dev/null; then
exec python $PYTHON_VER "$@"
fi
> testsuite/Makefile.in:
> check-parallel:
> -rm -rf cache outputs temp
> $(MAKE) -k do-check-parallel; \
> $(SHELL) $(srcdir)/dg-extract-results.sh \
> `find outputs -name gdb.sum -print` > gdb.sum; \
> $(SHELL) $(srcdir)/dg-extract-results.sh -L \
> `find outputs -name gdb.log -print` > gdb.log
> @sed -n '/=== gdb Summary ===/,$$ p' gdb.sum
>
> Now I'm confused. Is the issue then that patches to the .sh version
> that we pulled in with the last merge introduced the bad sorting?
I don't know if the new updates to dg-extract-results.sh caused some
regression, but AFAIR Jan stopped using the .py version (switching back
to the .sh one) and things got back to normal.
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
next prev parent reply other threads:[~2015-02-12 20:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 23:33 Sergio Durigan Junior
2014-12-16 0:29 ` Doug Evans
2014-12-16 0:39 ` Sergio Durigan Junior
2015-02-12 20:27 ` Pedro Alves
2015-02-12 20:32 ` Sergio Durigan Junior
2015-02-12 20:38 ` Pedro Alves
2015-02-12 20:47 ` Sergio Durigan Junior [this message]
2015-03-09 17:50 ` Merge 'Make dg-extract-results.sh explicitly treat .{sum,log}, files as text' change (Re: [PATCH] Merge dg-extract-results.{sh,py} from GCC upstream) Pedro Alves
2015-03-09 17:53 ` [pushed] Delete gdb/testsuite/dg-extract-results.py " Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbj6dfhv.fsf@redhat.com \
--to=sergiodj@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox