[PATCH] ld/testsuite: add support for remote testing in ld-cdtest

Clément Chigot chigot@adacore.com
Thu Jun 18 08:01:54 GMT 2026


On Wed, Jun 17, 2026 at 3:51 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Wed, Jun 17, 2026 at 09:05:44AM +0200, Clément Chigot wrote:
> > On Wed, Jun 17, 2026 at 3:27 AM Alan Modra <amodra@gmail.com> wrote:
> > >
> > > Typical log file shows:
> > > Running: tmpdir/cdtest
> > > Setting LD_LIBRARY_PATH to :
> > > Execution timeout is: 300
> > > spawn [open ...]
> > > tmpdir/cdtest: 1:  ELF       @ °4H@  4: not found
> > > tmpdir/cdtest: 2: Syntax error: word unexpected (expecting ")")
> > > tmpdir/cdtest: 1:  ELF       @ °4H@  4: not found
> > > tmpdir/cdtest: 2: Syntax error: word unexpected (expecting ")")
> > >
> > > FAIL: cdtest
> >
> > Hum indeed. I don't see those errors during our internal testing
> > (using remote obviously) nor when I've tried with master on my laptop
> > (x86_64-linux-gnu but it seems ok on our side too).
> > I'll investigate.
>
> I was testing without any remote.

Yeah that's the issue. Those tests still need to be skipped when
execution (remotely or locally) is unavailable.
I've sent v2 and cc @macro@redhat.com, you did something similar afterall.

Clément

> > Thanks
> > Clément
> >
> > > Alan Modra
>
> --
> Alan Modra


More information about the Binutils mailing list