]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld/testsuite: add support for remote testing in ld-cdtest
authorClément Chigot <chigot@adacore.com>
Fri, 20 Feb 2026 14:43:03 +0000 (15:43 +0100)
committerClément Chigot <chigot@adacore.com>
Thu, 2 Jul 2026 06:45:20 +0000 (08:45 +0200)
commit7431e2b766ea7defd2db07c53a39fdd57606b691
tree6eaecd4aa879f05f33e506b31d0c37f2c246d0f0
parentcfc2ecd2a5e3a3313b913e855a638e3253345db4
ld/testsuite: add support for remote testing in ld-cdtest

This converts the existing to code to use "remote_load" allowing
execution on both native and remote targets.

The "diff" between the output and the expected result has been
transformed to the usual regexp_diff. The previous could have been
transformed into `remote_exec build diff` but tends to be fickled with
new lines.
ld/testsuite/ld-cdtest/cdtest-nrv.dat
ld/testsuite/ld-cdtest/cdtest.dat
ld/testsuite/ld-cdtest/cdtest.exp