Enable dg-reqire-sharedlib on Solaris
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 5 May 2016 19:54:42 +0000 (19:54 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 5 May 2016 19:54:42 +0000 (19:54 +0000)
* testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.

From-SVN: r235931

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 6e2d7ce15184e2ccc86fb4ed0de7d10c3239e479..ab6df14d103b01b6a32fa9aceeb1db9ad8b652ed 100644 (file)
@@ -1,3 +1,7 @@
+2016-05-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.
+
 2016-05-05  Jonathan Wakely  <jwakely@redhat.com>
 
        * testsuite/experimental/filesystem/path/native/string.cc: Add
index 9a930de166f3bf8de664154db3dfa8ee89b5da8c..0f7f6d0f29b0ddb4cf966de676fa66c0ed4a2977 100644 (file)
@@ -184,8 +184,9 @@ proc libstdc++_init { testfile } {
     set v3-sharedlib 0
     set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.$shlib_ext]
     if {$sharedlibdir != ""} {
-       if { ([string match "*-*-linux*" $target_triplet]
-             || [string match "*-*-gnu*" $target_triplet])
+       if { ([string match "*-*-gnu*" $target_triplet]
+             || [string match "*-*-linux*" $target_triplet]
+             || [string match "*-*-solaris*" $target_triplet])
             && [isnative] } then {
            set v3-sharedlib 1
            verbose -log "shared library support detected"