diff mbox

RFA: Testsuite PATCH to add support for dlopen tests

Message ID 5344373B.8080104@redhat.com
State New
Headers show

Commit Message

Jason Merrill April 8, 2014, 5:51 p.m. UTC
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?
diff mbox

Patch

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"