diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-07-07 13:20:39 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-07-07 13:20:39 -0700 |
commit | 5236c98902ecdcdc043ccaa7ead08e85e478fd65 (patch) | |
tree | 727e1e4bbdf87c26dcb0438013c76a03f57a97c0 /gprofng/testsuite/lib | |
parent | c0abbd96b4dc45249daffbd2b00dfa46cf3fd5aa (diff) | |
download | gdb-5236c98902ecdcdc043ccaa7ead08e85e478fd65.zip gdb-5236c98902ecdcdc043ccaa7ead08e85e478fd65.tar.gz gdb-5236c98902ecdcdc043ccaa7ead08e85e478fd65.tar.bz2 |
gprofng: fix regression in testing for not yet installed version
gprofng/ChangeLog
2022-07-07 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* src/Settings.cc (Settings::read_rc): Read environment variable
GPROFNG_SYSCONFDIR.
* testsuite/lib/Makefile.skel: Export GPROFNG_SYSCONFDIR.
* testsuite/gprofng.display/display.exp: Shorten the list of tests.
Diffstat (limited to 'gprofng/testsuite/lib')
-rw-r--r-- | gprofng/testsuite/lib/Makefile.skel | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gprofng/testsuite/lib/Makefile.skel b/gprofng/testsuite/lib/Makefile.skel index 7810ba7..157f6f6 100644 --- a/gprofng/testsuite/lib/Makefile.skel +++ b/gprofng/testsuite/lib/Makefile.skel @@ -42,6 +42,9 @@ DISPLAY_LOG = display.log gprofng_dir := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1)) export LD_LIBRARY_PATH := $(gprofng_dir):$(gprofng_dir)/.. +# Set GPROFNG_SYSCONFDIR to find out gprofng.rc: +export GPROFNG_SYSCONFDIR := $(srcdir)/../../../src + .PHONY: all collect compare clobber clean all: compare |