[PATCH] ld/testsuite: add support for remote testing in ld-cdtest
Project / Subsystem
binutils / ld/testsuite
Date
2026-05-29
Proposer
Clément Chigot <chigot@adacore.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Using regexp_diff may make the tests more brittle to minor output changes.
- • Remote testing adds complexity to the test setup, but improves coverage.
All attributes
- project
- binutils
- subsystem
- ld/testsuite
- patch_id
- —
- discussion_id
- 20260529135252.2094804-1-chigot@adacore.com
- source_type
- public_inbox
- title
- [PATCH] ld/testsuite: add support for remote testing in ld-cdtest
- headline
- ld-cdtest Supports Remote Testing
- tldr
- The ld-cdtest testsuite now supports remote testing by using remote_load and regexp_diff.
- proposer
- Clément Chigot <chigot@adacore.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Using regexp_diff may make the tests more brittle to minor output changes.
- • Remote testing adds complexity to the test setup, but improves coverage.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • linker
- • testing
- • remote
- • testsuite
- bugzilla_url
- —
- date
- 2026-05-29T00:00:00.000Z
[PATCH] ld/testsuite: add support for remote testing in ld-cdtest
The ld-cdtest testsuite is updated to use remote_load, allowing execution on both native and remote targets. The diff between the output and expected result is transformed to the usual regexp_diff format. This avoids issues with newline variations that arose when using remote_exec build diff.