* [PATCH] tests: Explicitly unset DEBUGINFOD_URLS.
@ 2020-02-21 12:50 Mark Wielaard
2020-02-24 16:41 ` Mark Wielaard
0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2020-02-21 12:50 UTC (permalink / raw)
To: elfutils-devel; +Cc: Mark Wielaard
If DEBUGINFOD_URLS is set various tests will try to query the debuginfod
server which can stall the tests a bit. If other evironment variables
like DEBUGINFOD_PROGRESS are set it will make various tests fail because
the expected output doesn't match. Tests should PASS without needing a
debuginfod server, unless they test (and set) one themselves.
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
tests/ChangeLog | 5 +++++
tests/Makefile.am | 2 ++
2 files changed, 7 insertions(+)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 01e4a083..32ca1ce0 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-21 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Explicitly unset DEBUGINFOD_URLS.
+ (installed_TESTS_ENVIRONMENT): Likewise.
+
2020-02-19 Aaron Merey <amerey@redhat.com>
* run-debuginfod-find.sh: Test that files unrelated to debuginfod
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1db1150d..a83c3d67 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -495,6 +495,7 @@ installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir); \
export abs_top_builddir; \
export libdir; export bindir; \
export LC_ALL; export LANG; export VALGRIND_CMD; \
+ unset DEBUGINFOD_URLS; \
NM=$(NM); export NM;
installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
installed $(tests_rpath) \
@@ -509,6 +510,7 @@ TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \
export abs_srcdir; export abs_builddir; \
export abs_top_builddir; \
export LC_ALL; export LANG; export VALGRIND_CMD; \
+ unset DEBUGINFOD_URLS; \
NM=$(NM); export NM;
LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
$(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm:$(abs_top_builddir)/debuginfod
--
2.18.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tests: Explicitly unset DEBUGINFOD_URLS.
2020-02-21 12:50 [PATCH] tests: Explicitly unset DEBUGINFOD_URLS Mark Wielaard
@ 2020-02-24 16:41 ` Mark Wielaard
0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2020-02-24 16:41 UTC (permalink / raw)
To: elfutils-devel
On Fri, 2020-02-21 at 13:49 +0100, Mark Wielaard wrote:
> If DEBUGINFOD_URLS is set various tests will try to query the debuginfod
> server which can stall the tests a bit. If other evironment variables
> like DEBUGINFOD_PROGRESS are set it will make various tests fail because
> the expected output doesn't match. Tests should PASS without needing a
> debuginfod server, unless they test (and set) one themselves.
Pushed to master.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-24 16:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 12:50 [PATCH] tests: Explicitly unset DEBUGINFOD_URLS Mark Wielaard
2020-02-24 16:41 ` 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).