gcc/libstdc++-v3/testsuite
Richard Sandiford b30bfd402f gcc-defs.exp (gcc-set-multilib-library-path): Delete.
gcc/testsuite/
	* lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete.
	* lib/target-libpath.exp (ld_library_path_vars): New variable.
	(init_ld_library_path_env_vars): New function, replacing the
	orig_*_saved assignments.  Call it after defining it.
	(set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars.
	(restore_ld_library_path_env_vars): Likewise.
	(add_path, find_libgcc_s): New functions.
	* lib/objc.exp (objc_init): Use find_libgcc_s instead of
	gcc-set-multilib-library-path.
	(objc_target_compile): Don't add "." to ld_library_path.
	Use add_path.
	* lib/gfortran.exp (gfortran_link_flags): Don't add "." to
	ld_library_path.  Use add_path.  Use find_libgcc_s instead of
	gcc-set-multilib-library-path.
	* lib/g++.exp (g++_link_flags): Likewise.
	* lib/obj-c++.exp (obj-c++_link_flags): Likewise.
	* lib/c-torture.exp: Do not manipulate ld_library_path at the
	top level; do it...
	(c-torture-execute): ...here instead.  Use $ld_library_path_multilib
	to tell when this needs to happen.  Use find_libgcc_s instead of
	gcc-set-multilib-library-path.
	* lib/gcc-dg.exp: Likewise.
	* lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path.
	* g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "."
	unless it is in $ALT_LD_LIBRARY_PATH.
	* g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise.

libffi/
	* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
	to ld_library_path.  Use add_path.  Add just find_libgcc_s
	to ld_library_path, not every libgcc multilib directory.

libgomp/
	* testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
	ld_library_path.  Use add_path.  Add just find_libgcc_s to
	ld_library_path, not every libgcc multilib directory.
	* testsuite/libgomp.c/c.exp (ld_library_path): Don't call
	gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
	* testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
	Use add_path.
	* testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.

libjava/
	* testsuite/lib/libjava.exp (libjava_init): Just add
	find_libgcc_s to libjava_libgcc_s_path, rather than every
	libgcc multilib directory.
	(libjava_arguments): Explain why we add "." to ld_library_path.
	(gcj_invoke, exec_gij, libjava_invoke): Use add_path.

libmudflap/
	* testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "."
	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
	ld_library_path, not every libgcc multilib directory.

libstdc++-v3/
	* testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
	ld_library_path, not every libgcc multilib directory.

From-SVN: r149113
2009-06-30 18:37:57 +00:00
..
17_intro Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
18_support exception_ptr.h (exception_ptr::swap(exception_ptr&&)): Remove. 2009-06-16 22:24:41 +01:00
19_diagnostics call.c (implicit_conversion): Handle conversion from initializer-list to scalar. 2009-05-27 18:23:41 -04:00
20_util shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00
21_strings 40160.cc: Remove spurious double include. 2009-05-15 23:31:59 +00:00
22_locale re PR libstdc++/40184 (locale(const char* std_name) can create invalid facets for nonuniform locale) 2009-05-19 18:20:47 +00:00
23_containers 1.cc: Mark test as possibly unused. 2009-06-22 14:57:23 +00:00
24_iterators 2009-06-20 Paolo Carlini <paolo.carlini@oracle.com> 2009-06-21 00:57:56 +00:00
25_algorithms re PR libstdc++/40600 (pair& operator=(pair&& __p) doesn't work without inlining) 2009-06-30 12:09:57 +00:00
26_numerics random.h (_Adaptor): Simplify for _DInputType always a floating point type. 2009-06-19 17:49:31 +00:00
27_io re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist) 2009-04-25 19:00:52 +00:00
28_regex Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
29_atomics testsuite_common_types.h (bitwise_operators, [...]): Initialize a and b. 2009-06-22 16:49:57 +00:00
30_threads user.cfg.in (PREDEFINED): Add _GLIBCXX_ATOMIC_BUILTINS_*. 2009-06-23 23:24:20 +00:00
abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
backward Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ext re PR libstdc++/40299 (Rope + C++0x mode = build error) 2009-06-02 09:06:31 +00:00
lib gcc-defs.exp (gcc-set-multilib-library-path): Delete. 2009-06-30 18:37:57 +00:00
libstdc++-abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libstdc++-dg Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
performance future: New. 2009-06-21 15:02:09 +01:00
tr1 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
util testsuite_common_types.h (bitwise_operators, [...]): Initialize a and b. 2009-06-22 16:49:57 +00:00
Makefile.am Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
Makefile.in abi.exp: Add multilib support. 2009-02-23 20:42:53 +00:00