22309_thread.cc: Remove dg-do run.
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
This commit is contained in:
parent
1984d2e8cd
commit
f81ab296b9
@ -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>
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user