This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Testsuite PATCH to add support for dlopen tests


On 04/08/2014 04:10 AM, Dominique Dhumieres wrote:
r209187 causes thousands of g++ test failures. AFAICT the failing tests are those with no
explicit 'dg-do compile' directive which are now trying to give an executable while
before r209187 they were using -S.

Does this fix it?


commit 94d8c7a26b5c0a822ebf83f448c941f27023e2fe
Author: Jason Merrill <jason@redhat.com>
Date:   Tue Apr 8 13:47:38 2014 -0400

    	* lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
    	compile.

diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 89eec95..21ef0c2 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -229,6 +229,7 @@ proc dg-build-dso { args } {
     set dir "[file dirname $main_file]"
     set dg-do-what-default dso
     dg-test -keep-output $dir/$file "" ""
+    set dg-do-what-default compile
 
     set output_file "[file rootname [file tail $file]].so"
     append final-code "remove-build-file $output_file"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]