[binutils-gdb] gprofng: test suite problems

Vladimir Mezentsev vmezents@sourceware.org
Thu Apr 28 03:50:00 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e12331a9bf980f24e6fe4aa1b22b431950883ba

commit 0e12331a9bf980f24e6fe4aa1b22b431950883ba
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Wed Apr 27 02:17:02 2022 -0700

    gprofng: test suite problems
    
    gprofng/ChangeLog
    2022-04-27  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>
    
            PR gprofng/29065
            * testsuite/lib/Makefile.skel: Search parent dir for libs too.

Diff:
---
 gprofng/testsuite/lib/Makefile.skel | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gprofng/testsuite/lib/Makefile.skel b/gprofng/testsuite/lib/Makefile.skel
index 7134c2715b5..7810ba7ed7a 100644
--- a/gprofng/testsuite/lib/Makefile.skel
+++ b/gprofng/testsuite/lib/Makefile.skel
@@ -39,8 +39,8 @@ DISPLAY	    = $(GPROFNG) display text
 EXPERIMENT  = test.er
 DISPLAY_LOG = display.log
 
-
-export LD_LIBRARY_PATH := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1))
+gprofng_dir := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1))
+export LD_LIBRARY_PATH := $(gprofng_dir):$(gprofng_dir)/..
 
 .PHONY: all collect compare clobber clean


More information about the Binutils-cvs mailing list