diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-09-13 18:36:39 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-09-13 18:36:39 +0000 |
commit | f81ab296b960627404579bb873fc35807665efa0 (patch) | |
tree | ad4b362808ee9bbf5c85bb5be121b34645f31ffe | |
parent | 1984d2e8cd47e9328318a13517283613af40c031 (diff) | |
download | gcc-f81ab296b960627404579bb873fc35807665efa0.zip gcc-f81ab296b960627404579bb873fc35807665efa0.tar.gz gcc-f81ab296b960627404579bb873fc35807665efa0.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc | 1 | ||||
-rw-r--r-- | 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 059043b..dedb911 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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> diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc b/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc index ce4024e..f224365 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 694d190..9c28ba0 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 |