Ok for trunk and releases/gcc-14?
--
When running tests using the "sim" config, the command is launched in
non-readonly mode and the text retrieved from the expect command will
then replace all LF with CRLF. (The problem can be found in sim_load
where it calls remote_spawn without an input file).
libstdc++-v3/ChangeLog:
* 27_io/print/1.cc: Allow both LF and CRLF in test.
Signed-off-by: Torbjörn SVENSSON <[email protected]>
---
libstdc++-v3/testsuite/27_io/print/1.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/27_io/print/1.cc
b/libstdc++-v3/testsuite/27_io/print/1.cc
index f6585d9880a..2a74e5002f4 100644
--- a/libstdc++-v3/testsuite/27_io/print/1.cc
+++ b/libstdc++-v3/testsuite/27_io/print/1.cc
@@ -18,7 +18,7 @@ void
test_println_default()
{
std::println("I walk the line");
- // { dg-output "I walk the line\n" }
+ // { dg-output "I walk the line\r?\n" }
}
void
--
2.25.1