public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-314] testsuite/C++: cope with IPv6 being unavailable
@ 2023-04-28 6:49 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-04-28 6:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9be54d6abad76b0d7f227687bf6b296e562d89fb
commit r14-314-g9be54d6abad76b0d7f227687bf6b296e562d89fb
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Apr 28 08:49:35 2023 +0200
testsuite/C++: cope with IPv6 being unavailable
When IPv6 is disabled in the kernel, the error message coming back from
Cody::OpenInet6() is different from the sole so far expected one.
gcc/testsuite/
* g++.dg/modules/bad-mapper-3.C: Relax failure pattern.
Diff:
---
gcc/testsuite/g++.dg/modules/bad-mapper-3.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/modules/bad-mapper-3.C b/gcc/testsuite/g++.dg/modules/bad-mapper-3.C
index ab14dd39a67..2a57956afc8 100644
--- a/gcc/testsuite/g++.dg/modules/bad-mapper-3.C
+++ b/gcc/testsuite/g++.dg/modules/bad-mapper-3.C
@@ -1,6 +1,6 @@
// { dg-additional-options "-fmodules-ts -fmodule-mapper=localhost:172477262" }
import unique3.bob;
-// { dg-error {failed (connecting|disabled) mapper 'localhost:172477262'} "" { target *-*-* } 0 }
+// { dg-error {failed (socket|connecting|disabled) mapper 'localhost:172477262'} "" { target *-*-* } 0 }
// { dg-prune-output "fatal error:" }
// { dg-prune-output "failed to read" }
// { dg-prune-output "compilation terminated" }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-28 6:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 6:49 [gcc r14-314] testsuite/C++: cope with IPv6 being unavailable Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).