public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libphobos: Re-add -fno-moduleinfo flag to dg-runtest [PR99812]
@ 2021-04-10 13:08 Iain Buclaw
  0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2021-04-10 13:08 UTC (permalink / raw)
  To: gcc-patches

Hi,

This patch partially reverts a previous change that removed these flags,
just to satisfy running tests on Solaris.

The fix isn't really correct, what should really be done is that the
test modules are compiled in a way that doesn't conflict with the
release library, which would also allow most tests to pass on Darwin.

Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and
committed to mainline.

Regards
Iain

---
libphobos/ChangeLog:

	PR d/99812
	* testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
	-fno-moduleinfo flag to dg-runtest.
	* testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
---
 .../testsuite/libphobos.druntime_shared/druntime_shared.exp     | 2 +-
 libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libphobos/testsuite/libphobos.druntime_shared/druntime_shared.exp b/libphobos/testsuite/libphobos.druntime_shared/druntime_shared.exp
index 2b2561346db..51f9c2cf1d6 100644
--- a/libphobos/testsuite/libphobos.druntime_shared/druntime_shared.exp
+++ b/libphobos/testsuite/libphobos.druntime_shared/druntime_shared.exp
@@ -35,7 +35,7 @@ dg-init
 foreach test $tests {
     set libphobos_test_name "$subdir/[dg-trim-dirname $srcdir/../libdruntime $test]"
     dg-runtest $test "-shared-libphobos" \
-	"-fmain -fbuilding-libphobos-tests $version_flags"
+	"-fmain -fbuilding-libphobos-tests -fno-moduleinfo $version_flags"
     set libphobos_test_name ""
 }
 
diff --git a/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp b/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp
index 3a847e71e98..8498522d4d4 100644
--- a/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp
+++ b/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp
@@ -46,7 +46,7 @@ dg-init
 foreach test $tests {
     set libphobos_test_name "$subdir/[dg-trim-dirname $srcdir/../src $test]"
     dg-runtest $test "-shared-libphobos" \
-	"-fmain -fbuilding-libphobos-tests $version_flags"
+	"-fmain -fbuilding-libphobos-tests -fno-moduleinfo $version_flags"
     set libphobos_test_name ""
 }
 
-- 
2.27.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-10 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 13:08 [committed] libphobos: Re-add -fno-moduleinfo flag to dg-runtest [PR99812] Iain Buclaw

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