libphobos: Re-add -fno-moduleinfo flag to dg-runtest [PR99812]
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 10 Apr 2021 10:01:04 +0000 (12:01 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 10 Apr 2021 13:02:06 +0000 (15:02 +0200)
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.

libphobos/testsuite/libphobos.druntime_shared/druntime_shared.exp
libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp

index 2b25613..51f9c2c 100644 (file)
@@ -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 ""
 }
 
index 3a847e7..8498522 100644 (file)
@@ -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 ""
 }