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: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 03 Aug 2015 17:38:29 +0100
- 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>
On 08/03/2015 05:34 PM, Pedro Alves wrote:
> On 08/03/2015 04:16 PM, Simon Marchi wrote:
>
>> > The problem is that it also affects when running other tests.
>> > For example, doing a
>> >
>> > $ make check RUNTESTFLAGS="argv0-symlink.exp"
>> >
>> > and then
>> >
>> > $ make check RUNTESTFLAGS="whatis.exp"
>> >
>> > gives
>> >
>> > http://paste.ubuntu.com/11993577/
> Urgh. Maybe there's some other change to argv0-symlink.exp
> that could be made to avoid this? I haven't looked at this
> in enough detail to give a good informed suggestion, but
> maybe putting the symlink elsewhere?
(I meant to add that even deleting the symlink after testing
isn't a 100% fix, as some testsuite bug can cause a perror or
even you can always ctrl-c / kill the testsuite run before
the symlink is removed.)
Thanks,
Pedro Alves