This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, Joel Brobecker <brobecker at adacore dot com>, Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches <gdb-patches at sourceware dot org>, Yao Qi <qiyaoltc at gmail dot com>
- Date: Wed, 12 Aug 2015 12:40:14 -0400
- Subject: Re: [PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup
- Authentication-results: sourceware.org; auth=none
- References: <1438287227-11303-1-git-send-email-simon dot marchi at ericsson dot com> <55BF7962 dot 3060106 at redhat dot com> <55BF85BC dot 8040102 at ericsson dot com> <55BF9811 dot 50202 at redhat dot com> <20150804172110 dot GI4777 at adacore dot com> <CADPb22TsqOiq6AM9h_0A-a7rp=dX6ds-E8K21goX+AK5UMjadA at mail dot gmail dot com> <55CB123F dot 70603 at redhat dot com>
On Wednesday, August 12 2015, Pedro Alves wrote:
>> 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).
FWIW, this would be awesome. I am not sure about forcing the dependency
on GNU Make for the testing (this would be OK by me, but maybe someone
has a case against), but defaulting to FORCE_PARALLEL=1 would be a step
forward, indeed. While hacking our testsuite to implement a way to
verify the racy tests we have, I could see how the fact that each test
has its own directory makes a difference.
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/