]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
22309_thread.cc: Remove dg-do run.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 13 Sep 2005 18:36:39 +0000 (18:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 13 Sep 2005 18:36:39 +0000 (18:36 +0000)
2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
* testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
shared only for linux.

From-SVN: r104235

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc
libstdc++-v3/testsuite/lib/libstdc++.exp

index 059043b5eea71aceef01a0dadd6de1be8dea9f60..dedb91103aa6f3af58dc8e90f0b1257ba4760d73 100644 (file)
@@ -1,8 +1,8 @@
 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
 
-       * testsuite/lib/libstdc++.exp (v3-build_support): Use sharedlib for
-       type of target_compile.
-        (v3_target_compile): Set flags for sharelib type.
+       * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
+       * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
+       shared only for linux.
        
 2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>
            David Edelsohn <dje@gcc.gnu.org>
index ce4024eb8768eb2854f0128582c069844a8b8560..f2243657a5d847b00475f8cd04885f52bbfbddd0 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-require-sharedlib "" }
-// { dg-do run { target *-*-linux* } }
 // { dg-options "-g -O2 -pthread -ldl" { target *-*-linux* } }
 
 // Copyright (C) 2004, 2005 Free Software Foundation, Inc.
index 694d190ca3e59ecde4e9d83c1da4d673aaf39ea0..9c28ba051d5bebb4458d201e5d9598b782decb6a 100644 (file)
@@ -133,8 +133,10 @@ proc libstdc++_init { testfile } {
     set v3-sharedlib 0
     set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.so]
     if {$sharedlibdir != ""} {
-        set v3-sharedlib 1
-       verbose -log "shared library support detected"
+       if { [string match "*-*-linux*" $target_triplet] } {
+           set v3-sharedlib 1
+           verbose -log "shared library support detected"
+       } 
     }
     v3track v3-sharedlib 3
 
@@ -337,7 +339,6 @@ proc v3_target_compile { source dest type options } {
 # addition, set v3-wchar_t, v3-threads, v3-test_objs, and v3-symver
 # appropriately.
 proc v3-build_support {} {
-    global cxx
     global srcdir
     global v3-wchar_t
     global v3-threads