Re: [PATCH v2] ld/testsuite: add support for remote testing in ld-cdtest
Project / Subsystem
binutils / ld/testsuite
Date
2026-06-30
Proposer
Maciej W. Rozycki <macro@orcam.me.uk>
Source type
public_inbox
Consensus
Proposed
Sentiment
8/10
Technical tradeoffs
- • Using `remote_load` broadens test applicability but adds complexity in managing remote execution environments.
- • Replacing direct `exec` with `remote_load` requires careful handling of execution status and output capture.
- • Refining output diffing with `regexp_diff` improves robustness but might require more complex regular expressions.
All attributes
- project
- binutils
- subsystem
- ld/testsuite
- patch_id
- —
- discussion_id
- 20260618075856.2258643-1-chigot@adacore.com
- source_type
- public_inbox
- title
- Re: [PATCH v2] ld/testsuite: add support for remote testing in ld-cdtest
- headline
- ld/testsuite: add support for remote testing in ld-cdtest
- tldr
- Patch to enable remote testing in ld-cdtest by replacing direct execution with 'remote_load', improving compatibility with various target environments.
- proposer
- Maciej W. Rozycki <macro@orcam.me.uk>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- 8
- technical_tradeoffs
-
- • Using `remote_load` broadens test applicability but adds complexity in managing remote execution environments.
- • Replacing direct `exec` with `remote_load` requires careful handling of execution status and output capture.
- • Refining output diffing with `regexp_diff` improves robustness but might require more complex regular expressions.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • ld
- • testing
- • cross-compilation
- • testsuite
- bugzilla_url
- —
- date
- 2026-06-30T00:00:00.000Z
Re: [PATCH v2] ld/testsuite: add support for remote testing in ld-cdtest
Maciej W. Rozycki reviews a patch by Clément Chigot that adds support for remote testing within the ld-cdtest test suite. The patch replaces direct execution of test executables with remote_load, allowing tests to run on both native and remote targets. Rozycki confirms the patch works on his powerpc64le-linux-gnu native system and a remote mips-linux-gnu cross target. He notes a minor nit regarding the handling of differences between output and expected results, suggesting a refinement to the regexp_diff mechanism.