gcc/libphobos/testsuite
Thomas Schwinge 9ac60f77d2 [LIBPHOBOS] Fix multi-lib RUNTESTFLAGS handling
Testing libphobos fails for multi-lib configs:

$ make check-target-libphobos RUNTESTFLAGS="--target_board=unix\{-m32,\}"

fails for every 32bit execution, because the host libgcc_s.so is used which
is not the correct version:

spawn [open ...]
./test_aa.exe: /lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_7.0.0' not found (required by ./test_aa.exe)
FAIL: libphobos.aa/test_aa.d execution test

This can be fixed by adding a few lines from libstdc++/testsuite/lib/libstdc++.exp
to libphobos/testsuite/lib/libphobos.exp

Backport trunk r275332:

	libphobos/
	2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

	* testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
	dirs to the ld_library_path var.

From-SVN: r277611
2019-10-30 12:51:15 +01:00
..
config Update copyright years. 2019-01-01 13:31:55 +01:00
lib [LIBPHOBOS] Fix multi-lib RUNTESTFLAGS handling 2019-10-30 12:51:15 +01:00
libphobos.aa libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
libphobos.allocations D: Implement GCC emutls in druntime 2019-04-25 11:11:39 +00:00
libphobos.cycles libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
libphobos.druntime libphobos: Fix FAIL phobos.exp/core.time on CentOS 5.11, Linux 2.6.18 2019-04-24 18:57:36 +00:00
libphobos.druntime_shared libphobos: Fix FAIL phobos.exp/core.time on CentOS 5.11, Linux 2.6.18 2019-04-24 18:57:36 +00:00
libphobos.exceptions Update copyright years. 2019-01-01 13:31:55 +01:00
libphobos.hash libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
libphobos.init_fini libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
libphobos.phobos libphobos: Skip curl tests if libcurl is not installed on the target. 2019-04-24 14:17:34 +00:00
libphobos.phobos_shared libphobos: Skip curl tests if libcurl is not installed on the target. 2019-04-24 14:17:34 +00:00
libphobos.shared libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
libphobos.thread libphobos: Fix segfault in runtime caused by unexpected GC of TLS data. 2019-04-25 15:31:35 +00:00
libphobos.typeinfo libphobos: Add D support for S/390 Linux 2019-04-23 22:53:25 +00:00
Makefile.am libphobos: Add missing PWD_COMMAND to Makefile. 2019-04-25 06:26:57 +00:00
Makefile.in libphobos: Add missing PWD_COMMAND to Makefile. 2019-04-25 06:26:57 +00:00
testsuite_flags.in libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00