From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20249 invoked by alias); 9 Jul 2019 20:24:43 -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 20178 invoked by uid 89); 9 Jul 2019 20:24:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.3 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= X-Spam-Status: No, score=-26.3 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: mx1.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed] Require gdb-add-index for gdb-add-index.sh Message-ID: <20190709202433.GA12227@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-q3/txt/msg00058.txt.bz2 Hi, On systems without gdb-add-index, we run into: ... gdb-add-index.sh: 3: gdb-add-index.sh: gdb-add-index: not found FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/gdb-add-index.sh ... Fix this by requiring gdb-add-index for gdb-add-index.sh. Committed to trunk. Thanks, - Tom Require gdb-add-index for gdb-add-index.sh 2019-07-09 Tom de Vries * testsuite/dwz.tests/dwz-tests.exp: Require gdb-add-index for gdb-add-index.sh. --- testsuite/dwz.tests/dwz-tests.exp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testsuite/dwz.tests/dwz-tests.exp b/testsuite/dwz.tests/dwz-tests.exp index 9dda522..ce7343f 100644 --- a/testsuite/dwz.tests/dwz-tests.exp +++ b/testsuite/dwz.tests/dwz-tests.exp @@ -65,6 +65,12 @@ foreach test $tests { continue } } + if { $basename == "gdb-add-index.sh" } { + if { [catch { exec which gdb-add-index } ] } { + unsupported "$test" + continue + } + } set unsupported 0 foreach required_exec $required_execs {