This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Run tests in sub dir of testsuite/
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>, Doug Evans <xdje42 at gmail dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 12 Dec 2014 11:35:46 +0000
- Subject: Re: [RFC] Run tests in sub dir of testsuite/
- Authentication-results: sourceware.org; auth=none
- References: <1418266428-13166-1-git-send-email-yao at codesourcery dot com> <CAP9bCMQGOfN_YydJY2o5NJkAtZH5ZduWYzAH++FHjFpdcZC8NA at mail dot gmail dot com> <54890CDE dot 8050405 at codesourcery dot com>
On 12/11/2014 03:17 AM, Yao Qi wrote:
> On 12/11/2014 11:05 AM, Doug Evans wrote:
>> Is there intended to be a followup patch to remove
>> all the makefiles in testsuite/ except testsuite/Makefile.in?
>>
>> [I realize this patch is just RFC.
>> I just want to understand where this is headed.]
>
> Yes, that is what I want to do in next step.
>
>>
>> btw, while it might be cleaner to move gdb.log,gdb.sum into
>> the subdirs, it's not necessary.
>> I can update my build scripts, but if we're going
>> to be affecting a lot of build scripts then I'd
>> reconsider.
>
> I am fine to leave gdb.log and gdb.sum in testsuite/. The reason I move
> them into testsuite/$OUTPUTSDIR/ is to make $OUTPUTSDIR self-contained.
> Either way is fine to me, and I don't have a strong
> opinion on this.
I tend to think it's better to leave them be if there's no
real good reason to move them.
Note that "make clean" doesn't delete gdb.sum/gdb.log,
"make distclean" does. If "make clean" is just going to be "rm -f $subdirs",
then to preserve that it seems simplest to keep gdb.sum and gdb.log out
of the subdirs.
(nit, on "sequential-tests"/"parallel-tests" -- it's the run, not the
tests that are sequential or parallel. I'd suggest dropping
"-tests" from the dir names or use "-run", to avoid potential confusion.)
Thanks,
Pedro Alves