libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.

2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
	* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
	flag.

From-SVN: r73724
This commit is contained in:
Andreas Tobler 2003-11-19 05:51:18 +01:00 committed by Andreas Tobler
parent 820555e6f9
commit 90635952d1
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
flag.
2003-11-18 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/configopts.html, docs/html/debug.html,

View File

@ -97,6 +97,7 @@ proc v3-init { args } {
setenv LD_LIBRARY64_PATH $ld_library_path
setenv LD_RUN_PATH $ld_library_path
setenv LD_LIBRARY_PATH_64 $ld_library_path
setenv DYLD_LIBRARY_PATH $ld_library_path
verbose -log "Set LD_*_PATHs to ${ld_library_path}"
# Do a bunch of handstands and backflips for cross compiling and

View File

@ -16,10 +16,16 @@
# libstdc++-v3 testsuite that uses the 'dg.exp' driver.
global target_triplet
# If a testcase doesn't have special options, use these.
global DEFAULT_CXXFLAGS
if ![info exists DEFAULT_CXXFLAGS] then {
set DEFAULT_CXXFLAGS "-D_GLIBCXX_ASSERT"
if { [string match "powerpc-*-darwin*" $target_triplet] } {
set DEFAULT_CXXFLAGS "-D_GLIBCXX_ASSERT -multiply_defined suppress"
} else {
set DEFAULT_CXXFLAGS "-D_GLIBCXX_ASSERT"
}
}
# Initialization.