public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2] testsuite/C++: cope with IPv6 being unavailable
@ 2023-04-25 15:00 Jan Beulich
  2023-04-27 22:23 ` Nathan Sidwell
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2023-04-25 15:00 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jason Merrill, Nathan Sidwell

When IPv6 is disabled in the kernel, the error message coming back from
Cody::OpenInet6() is different from the sole so far expected one.
---
v2: Re-base.

--- 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] 2+ messages in thread

* Re: [PATCH v2] testsuite/C++: cope with IPv6 being unavailable
  2023-04-25 15:00 [PATCH v2] testsuite/C++: cope with IPv6 being unavailable Jan Beulich
@ 2023-04-27 22:23 ` Nathan Sidwell
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Sidwell @ 2023-04-27 22:23 UTC (permalink / raw)
  To: Jan Beulich, gcc-patches; +Cc: Jason Merrill

On 4/25/23 11:00, Jan Beulich wrote:
> When IPv6 is disabled in the kernel, the error message coming back from
> Cody::OpenInet6() is different from the sole so far expected one.

ok -- i couldn't find such a system :)
> ---
> v2: Re-base.
> 
> --- 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" }

-- 
Nathan Sidwell


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-27 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 15:00 [PATCH v2] testsuite/C++: cope with IPv6 being unavailable Jan Beulich
2023-04-27 22:23 ` Nathan Sidwell

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).