aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-02-16 18:44:45 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2011-02-16 18:44:45 +0100
commit3808007ca0a79b0a2df3f9257fe4999b353f42ac (patch)
tree40703c070fe8fb0991eedfd55d815e8eb573ac99 /libgomp/testsuite/libgomp.fortran
parentc71f01a9d64d464d575d4a53547cbb78877f75eb (diff)
downloadgcc-3808007ca0a79b0a2df3f9257fe4999b353f42ac.zip
gcc-3808007ca0a79b0a2df3f9257fe4999b353f42ac.tar.gz
gcc-3808007ca0a79b0a2df3f9257fe4999b353f42ac.tar.bz2
re PR libgomp/47758 (729 unexpected failures in the libgomp test suite on powerpc-apple-darwin8)
2011-02-16 Tobias Burnus <burnus@net-b.de> PR libgomp/47758 * testsuite/libgomp.fortran/fortran.exp: Check for the existence of libquadmath.a before adding its libpath to ldflags. From-SVN: r170216
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran')
-rw-r--r--libgomp/testsuite/libgomp.fortran/fortran.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/fortran.exp b/libgomp/testsuite/libgomp.fortran/fortran.exp
index 5529f19..87db855 100644
--- a/libgomp/testsuite/libgomp.fortran/fortran.exp
+++ b/libgomp/testsuite/libgomp.fortran/fortran.exp
@@ -37,10 +37,7 @@ if { $lang_test_file_found } {
# Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03,08}]]
- if { $blddir != "" } {
- # We could, perhaps, test for the presence of the quad math lib - but if it
- # is required then its absence will cause a fail, and if it is not required
- # the additions here should be harmless.
+ if { ($blddir != "") && [file exists "${blddir}/${quadmath_library_path}/libquadmath.a"] } {
lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/"
# Allow for spec subsitution.
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/"