From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13518 invoked by alias); 16 Mar 2019 17:52:49 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 13507 invoked by uid 89); 16 Mar 2019 17:52:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-20.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=Works X-Spam-Status: No, score=-20.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Mark Wielaard To: Tom de Vries Cc: dwz@sourceware.org Subject: Re: Added a buildbot for dwz Message-ID: <20190316175245.GB2435@wildebeest.org> References: <61673a59-1da8-2a7f-e15e-14ff05874a39@suse.de> <20190316163108.GA2435@wildebeest.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Flag: NO X-SW-Source: 2019-q1/txt/msg00138.txt.bz2 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 1170 On Sat, Mar 16, 2019 at 05:37:34PM +0100, Tom de Vries wrote: > On 16-03-19 17:31, Mark Wielaard wrote: > > The following seems to always suppress the WARNING: > > > > diff --git a/Makefile b/Makefile > > index 1aa208f..2a9898c 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -26,9 +26,14 @@ hello: > > dw2-restrict: > > $(CC) $(TEST_SRC)/dw2-restrict.S -o $@ || touch $@ > > > > +# On some systems we need to set and export DEJAGNU to suppress > > +# WARNING: Couldn't find the global config file. > > +DEJAGNU ?= /dev/null > > + > > check: dwz $(TEST_EXECS) > > mkdir -p testsuite-bin > > cd testsuite-bin; ln -sf $(PWD)/dwz . > > + export DEJAGNU=$(DEJAGNU); \ > > export PATH=$(PWD)/testsuite-bin:$$PATH; export LC_ALL=C; \ > > runtest --tool=dwz -srcdir testsuite $(RUNTESTFLAGS) > > rm -Rf testsuite-bin $(TEST_EXECS) > > > > Does that make sense? > > Works for me. Great. Pushed as attached. On all buildbot workers make check is warning free. On some there are some warnings about hashtab.c (implicit-fallthrough). If that file comes from libiberty maybe we can simply remerge it? Cheers, Mark --DocE+STaALJfprDB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-export-DEJAGNU-for-make-check-to-suppress-global-con.patch" Content-length: 1139 >From f31e9dee0a45d392fe08d3441dd64200a5505a05 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 16 Mar 2019 18:38:49 +0100 Subject: [PATCH] export DEJAGNU for make check to suppress global config file WARNING. On some systems we need to set and export DEJAGNU to suppress WARNING: Couldn't find the global config file. 2019-03-16 Mark Wielaard * Makefile (DEJAGNU): Optionally set variable. (check): export DEJAGNU. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1aa208f..2ce7b59 100644 --- a/Makefile +++ b/Makefile @@ -26,9 +26,14 @@ hello: dw2-restrict: $(CC) $(TEST_SRC)/dw2-restrict.S -o $@ || touch $@ +# On some systems we need to set and export DEJAGNU to suppress +# WARNING: Couldn't find the global config file. +DEJAGNU ?= /dev/null + check: dwz $(TEST_EXECS) mkdir -p testsuite-bin cd testsuite-bin; ln -sf $(PWD)/dwz . + export DEJAGNU=$(DEJAGNU); \ export PATH=$(PWD)/testsuite-bin:$$PATH; export LC_ALL=C; \ runtest --tool=dwz -srcdir testsuite $(RUNTESTFLAGS) rm -Rf testsuite-bin $(TEST_EXECS) -- 2.20.1 --DocE+STaALJfprDB--