OSDN Git Service

make
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / libstdc++-abi / abi.exp
index f226e0a..b5b469e 100644 (file)
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
 
 # If there is no baseline file, or we can't find the library, skip
-# this test.
-if { ![info exists baseline_file] \
+# this test. Or, hey, if we don't support this kind of symbol
+# versioning test: don't run it.
+
+# Build the support objects.
+v3-build_support
+
+if { (${v3-symver} == 0) || ![info exists baseline_file] \
         || ![file exists $baseline_file] \
         || ![file exists "../src/.libs/libstdc++.so"] } {
     return
@@ -26,9 +31,6 @@ if { ![info exists baseline_file] \
 remote_exec "build" "$srcdir/../scripts/extract_symvers" \
     [list "../src/.libs/libstdc++.so" "current_symbols.txt"]
 
-# Build the support objects.
-v3-build_support
-
 # Build the abi_check program.
 if { [v3_target_compile "$srcdir/testsuite_abi_check.cc" "abi_check" \
       "executable" [list "additional_flags=-w"]] != "" } {