From: Pedro Alves <palves@redhat.com>
To: Doug Evans <dje@google.com>, Joel Brobecker <brobecker@adacore.com>
Cc: Simon Marchi <simon.marchi@ericsson.com>,
gdb-patches <gdb-patches@sourceware.org>,
Yao Qi <qiyaoltc@gmail.com>
Subject: Re: [PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup
Date: Wed, 12 Aug 2015 09:30:00 -0000 [thread overview]
Message-ID: <55CB123F.70603@redhat.com> (raw)
In-Reply-To: <CADPb22TsqOiq6AM9h_0A-a7rp=dX6ds-E8K21goX+AK5UMjadA@mail.gmail.com>
On 08/11/2015 06:35 PM, Doug Evans wrote:
> On Tue, Aug 4, 2015 at 10:21 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>>> Personally, I'd vote for making in-tree builds, or at least testing,
>>> officially unsupported. I think gcc already does so...
>>
>> We should seriously discuss this, one day, as we keep having to
>> spend time fixing issues specific to that mode.
>
> I don't have a strong opinion on making in-tree testing unsupported,
> but I do have a strong opinion on another thing that can make the
> in-tree testing issue moot.
>
> Let's remove all of testsuite/*/Makefile.in, they're always
> out of date anyway (i.e., no one updates gdb.foo/Makefile.in to
> remove binaries added by new tests),
> and except for "make clean" aren't really used for anything.
> The "make clean" in testsuite/Makefile.in can just "rm -rf foo bar ..."
> [where "foo bar ..." are *not* the gdb.* testsuite dirs, but rather
> the outputs,etc. directories of check-parallel]
> IOW, testing would create the needed directories on the fly,
> even in serial mode,
> and to simplify "make clean" they'd always be put in a fixed
> subdir of testsuite (just like check-parallel does now).
*nod*
I believe Yao had patches a while ago that went in this direction.
Don't know what happened to them. [+Yao].
>
> As for whether to always have one directory per test
> (in serial and parallel modes), that *could* be treated as a separate
> issue, but if it reduces complexity by doing the same thing
> for serial and parallel then great.
I believe this would be worthwhile.
Taking this a step further, if we always ran in parallel mode (the
equivalent of make check -j1 FORCE_PARALLEL=1), then variable bleeding
between tests would no longer be an issue, as then we'd invoke a
dejagnu/runtest per test. That would mean making GNU Make a
requirement for testing (which IMO, should be OK).
> [And while in-tree testing could still be unsupported,
> I think(!) the current issue with it would be fixed.]
Thanks,
Pedro Alves
next prev parent reply other threads:[~2015-08-12 9:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 20:13 Simon Marchi
2015-08-03 14:23 ` Pedro Alves
2015-08-03 15:16 ` Simon Marchi
2015-08-03 16:34 ` Pedro Alves
2015-08-03 16:38 ` Pedro Alves
2015-08-03 18:10 ` Simon Marchi
2015-08-03 18:42 ` Pedro Alves
2015-08-04 16:11 ` Sergio Durigan Junior
2015-08-04 17:21 ` Joel Brobecker
2015-08-11 17:36 ` Doug Evans
2015-08-11 19:58 ` Joel Brobecker
2015-08-11 20:43 ` Doug Evans
2015-08-11 23:02 ` Joel Brobecker
2015-08-12 9:30 ` Pedro Alves [this message]
2015-08-12 16:40 ` Sergio Durigan Junior
2015-08-12 17:22 ` Joel Brobecker
2015-08-12 17:38 ` Doug Evans
2015-08-12 18:43 ` Joel Brobecker
2015-08-12 18:50 ` Doug Evans
2015-08-12 19:41 ` Joel Brobecker
2015-08-12 20:23 ` Doug Evans
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=55CB123F.70603@redhat.com \
--to=palves@redhat.com \
--cc=brobecker@adacore.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=qiyaoltc@gmail.com \
--cc=simon.marchi@ericsson.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