binutils-gdb/gprofng/testsuite
Vladimir Mezentsev a13e4c5c10 Fix 30808 gprofng tests failed
In gprofng testing, we need a tempory gprofng installation to resolve run-time
dependencies on libraries (libgprofng, libopcodes, libbfd, etc).
We set LD_LIBRARY_PATH and GPROFNG_SYSCONFDIR to find our libraries and
configuration file. These variables must be set for all gprofng tests.

Tested on aarch64 and x86_64 with and without --enable-shared and --target=<>.

gprofng/ChangeLog
2023-08-31  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

	PR gprofng/30808
	* testsuite/config/default.exp: Make a temporary install dir.
	Set LD_LIBRARY_PATH, GPROFNG_SYSCONFDIR.
	* testsuite/lib/Makefile.skel: Move LD_LIBRARY_PATH and
	GPROFNG_SYSCONFDIR setting in testsuite/config/default.exp.
2023-09-05 13:01:46 -07:00
..
config Fix 30808 gprofng tests failed 2023-09-05 13:01:46 -07:00
gprofng.display gprofng: 30700 tmpdir/gp-collect-app_F test fails 2023-08-07 14:32:36 -07:00
lib Fix 30808 gprofng tests failed 2023-09-05 13:01:46 -07:00