testsuite, Darwin: Update bad-mapper-1 after libiberty changes.

A recent change to libiberty has improved the process spawning on
older Darwin platforms.  This patch updates the expected test output
after the changes.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/bad-mapper-1.C: Update expected test output
	for earlier Darwin.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
This commit is contained in:
Iain Sandoe 2024-03-08 09:21:39 +00:00
parent 078f4a958c
commit c85c2e26b8

View file

@ -1,9 +1,9 @@
// { dg-additional-options "-fmodules-ts -fmodule-mapper=|this-will-not-work" }
import unique1.bob;
// { dg-error "-:failed (exec|CreateProcess|posix_spawn).*mapper.* .*this-will-not-work" "" { target { ! { *-*-darwin[89]* *-*-darwin10* hppa*-*-hpux* } } } 0 }
// { dg-error "-:failed (exec|CreateProcess|posix_spawn).*mapper.* .*this-will-not-work" "" { target { ! { hppa*-*-hpux* } } } 0 }
// { dg-prune-output "fatal error:" }
// { dg-prune-output "failed to read" }
// { dg-prune-output "compilation terminated" }
// { dg-error "-:failed mapper handshake communication" "" { target { *-*-darwin[89]* *-*-darwin10* hppa*-*-hpux* } } 0 }
// { dg-error "-:failed mapper handshake communication" "" { target { hppa*-*-hpux* } } 0 }
// { dg-prune-output "trying to exec .this-will-not-work." }
// { dg-prune-output "unknown Compiled Module Interface" }