public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] tests: Run strip under testrun in run-debuginfod-find.sh
@ 2019-12-06 14:49 Mark Wielaard
  2019-12-10 23:40 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2019-12-06 14:49 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

Otherwise strip might run against the system libelf which might be too
old or missing.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 tests/ChangeLog              | 4 ++++
 tests/run-debuginfod-find.sh | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/ChangeLog b/tests/ChangeLog
index fb881e76..ffa4ef51 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-05  Mark Wielaard  <mark@klomp.org>
+
+	* run-findinfod-find.sh: Run strip under testrun.
+
 2019-12-06  Mark Wielaard  <mark@klomp.org>
 
 	* backtrace-data.c (main): Add break after assert.
diff --git a/tests/run-debuginfod-find.sh b/tests/run-debuginfod-find.sh
index 0ade03b7..6f92fbf1 100755
--- a/tests/run-debuginfod-find.sh
+++ b/tests/run-debuginfod-find.sh
@@ -102,7 +102,7 @@ export DEBUGINFOD_TIMEOUT=10
 echo "int main() { return 0; }" > ${PWD}/prog.c
 tempfiles prog.c
 gcc -g -o prog ${PWD}/prog.c
- ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog
+testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog
 BUILDID=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
           -a prog | grep 'Build ID' | cut -d ' ' -f 7`
 
-- 
2.20.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests: Run strip under testrun in run-debuginfod-find.sh
  2019-12-06 14:49 [PATCH] tests: Run strip under testrun in run-debuginfod-find.sh Mark Wielaard
@ 2019-12-10 23:40 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2019-12-10 23:40 UTC (permalink / raw)
  To: elfutils-devel

On Fri, Dec 06, 2019 at 03:49:14PM +0100, Mark Wielaard wrote:
> Otherwise strip might run against the system libelf which might be too
> old or missing.

Pushed to master.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-10 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 14:49 [PATCH] tests: Run strip under testrun in run-debuginfod-find.sh Mark Wielaard
2019-12-10 23:40 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).