[PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup
Pedro Alves
palves@redhat.com
Mon Aug 3 16:34:00 GMT 2015
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?
>
> At least, it's possible to avoid it by doing
>
> $ make check RUNTESTFLAGS="gdb.base/whatis.exp"
>
> instead. However, it also affect those as well:
>
> $ make check
> $ make check RUNTESTFLAGS="--directory=gdb.base"
>
> runtest will find all tests recursively, resulting in this:
>
> http://paste.ubuntu.com/11993659/
>
> Building out-of-tree would avoid this altogether, of course. The
> reason I build in-tree is that I use a script [1] to regression-test
> my patches. The script is a bit dumb and requires to build in the
> git repo. I think I'll improve it a bit to make it possible to
> build OOT.
Personally, I'd vote for making in-tree builds, or at least testing,
officially unsupported. I think gcc already does so...
>
> Simon
>
> [1] https://github.com/simark/gdb-check
>
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list