[PATCH] Fix gdb.fortran "failed to extract expected results" errors
Keith Seitz
keiths@redhat.com
Mon Feb 28 15:35:56 GMT 2022
On 2/25/22 08:48, Simon Marchi via Gdb-patches wrote:
>
>
> On 2022-02-25 11:40, Tom Tromey wrote:
>>>>>>> "Keith" == Keith Seitz via Gdb-patches <gdb-patches@sourceware.org> writes:
>>
>>
>> Keith> This patch skips these tests when running on non-native targets.
>>
>> Looks good to me.
>
> An alternative would be to change those tests to not rely on inferior IO.
>
> They could perhaps save the expected outcome to a string, which GDB would
> read, rather than printing it to stdout.
>
> But, that takes some time, and most importantly, someone who knows
> Fortran :). So I also think your patch is ok.
Oh, you got me! :-)
That's a good point, though. I will see if I can update this test, but in the
meantime, I've pushed this change. All these errors are interfering with our
Fedora CI efforts.
Thank you, Tom and Simon!
Keith
More information about the Gdb-patches
mailing list