From f81ab296b960627404579bb873fc35807665efa0 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 13 Sep 2005 18:36:39 +0000 Subject: [PATCH] 22309_thread.cc: Remove dg-do run. 2005-09-12 Benjamin Kosnik * 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 | 6 +++--- libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc | 1 - libstdc++-v3/testsuite/lib/libstdc++.exp | 7 ++++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 059043b5eea..dedb91103aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,8 +1,8 @@ 2005-09-12 Benjamin Kosnik - * 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 David Edelsohn diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc b/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc index ce4024eb876..f2243657a5d 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc @@ -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. diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 694d190ca3e..9c28ba051d5 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -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 -- 2.30.2