]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Explicitly unset DEBUGINFOD_URLS.
authorMark Wielaard <mark@klomp.org>
Fri, 21 Feb 2020 12:34:09 +0000 (13:34 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 21 Feb 2020 12:36:43 +0000 (13:36 +0100)
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
tests/Makefile.am

index 01e4a0830a7ffba4cae26095400c24c39b1ae594..32ca1ce0bcc7934aa8f5f13e8f7f5e2d5b98f94c 100644 (file)
@@ -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
index 1db1150df5a2bb737417343c08956e82161a4e2f..a83c3d671423d4d8c684a03cb978c8c1c9ff6a76 100644 (file)
@@ -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