This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup


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/


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