[PATCH] gas: testsuite: Fix gas/all/pr27381 test case on Windows/MSYS2.
Project / Subsystem
binutils / gas
Date
2026-10-04
Proposer
Jan Dubiec <jdx@o2.pl>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Adjusting test case error messages for cross-platform compatibility versus maintaining strict POSIX-like error reporting.
All attributes
- project
- binutils
- subsystem
- gas
- patch_id
- —
- discussion_id
- 20261004221717.235487-1-jdx@o2.pl
- source_type
- public_inbox
- title
- [PATCH] gas: testsuite: Fix gas/all/pr27381 test case on Windows/MSYS2.
- headline
- gas: testsuite: Fix gas/all/pr27381 test case on Windows/MSYS2.
- tldr
- Fixes a gas test case for the .incbin directive to correctly handle error messages on Windows.
- proposer
- Jan Dubiec <jdx@o2.pl>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Adjusting test case error messages for cross-platform compatibility versus maintaining strict POSIX-like error reporting.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • gas
- • testsuite
- • windows
- • cross-platform
- bugzilla_url
- —
- date
- 2026-10-04T00:00:00.000Z
[PATCH] gas: testsuite: Fix gas/all/pr27381 test case on Windows/MSYS2.
This patch adjusts the error message regular expression and the target directory in a gas test case (pr27381) to ensure it passes on Windows/MSYS2. The change accounts for differing behavior in fopen() between POSIX systems and Windows when attempting to include a directory with the .incbin directive, harmonizing the expected error output.