]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
abi.exp: Defer setting of baseline_subdir until after checking that the test is eligi...
authorIain Sandoe <iain@codesourcery.com>
Fri, 16 May 2014 20:56:03 +0000 (20:56 +0000)
committerSandra Loosemore <sandra@gcc.gnu.org>
Fri, 16 May 2014 20:56:03 +0000 (16:56 -0400)
2014-05-16  Iain Sandoe  <iain@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>

        libstdc++-v3/
        * testsuite/libstdc++-abi/abi.exp: Defer setting of baseline_subdir
        until after checking that the test is eligible to be run.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r210531

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

index 96fe704e256c3d90c2ba381869f052987aac7b1f..7dca067a96753875e6f07db3ed2e98b5416d9b6d 100644 (file)
@@ -1,3 +1,9 @@
+2014-05-16  Iain Sandoe  <iain@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+        * testsuite/libstdc++-abi/abi.exp: Defer setting of baseline_subdir
+        until after checking that the test is eligible to be run.
+
 2014-05-16  Jonathan Wakely  <jwakely@redhat.com>
 
        * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Fix
index 9b381d8578e45e4b24c8f6a06a3ad8e63505761b..0d657fbdecba59c0a26e8846f46915ae17a98038 100644 (file)
@@ -24,8 +24,6 @@ if { [string match "*-*-darwin*" $target_triplet] } {
     set lib $blddir/src/.libs/libstdc++.so
 }
 
-set baseline_subdir "[eval exec $cxx $baseline_subdir_switch]"
-
 # Build the support objects.
 v3-build_support
 
@@ -35,6 +33,8 @@ if { (${v3-symver} == 0) || ![info exists baseline_dir] \
     return
 }
 
+set baseline_subdir "[eval exec $cxx $baseline_subdir_switch]"
+
 set baseline_file \
     [file join $baseline_dir $baseline_subdir "baseline_symbols.txt"]
 # If there is no ABI-specific reference file use that of the default ABI.