From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 36F7838930F1 for ; Fri, 24 Apr 2020 11:22:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 36F7838930F1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tdevries@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B642AAF62 for ; Fri, 24 Apr 2020 11:22:20 +0000 (UTC) Date: Fri, 24 Apr 2020 13:22:19 +0200 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Compile gdb.dwarf2/dw2-error.exp quietly Message-ID: <20200424112218.GA18397@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-Spam-Status: No, score=-28.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2020 11:22:25 -0000 Hi, When running test-case gdb.dwarf2/dw2-error.exp with target board cc-with-gdb-index, we get: ... Running src/gdb/testsuite/gdb.dwarf2/dw2-error.exp ... gdb compile failed, Dwarf Error: wrong version in compilation unit header \ (is 153, should be 2, 3, 4 or 5) [in module \ build/gdb/testsuite/outputs/gdb.dwarf2/dw2-error/.tmp/dw2-error] ... and similar for target board cc-with-debug-names. Be less verbose by adding "quiet" to the compile flags. Tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Compile gdb.dwarf2/dw2-error.exp quietly gdb/testsuite/ChangeLog: 2020-04-24 Tom de Vries * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags. --- gdb/testsuite/gdb.dwarf2/dw2-error.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.dwarf2/dw2-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-error.exp index bd2802f238e..5583e368781 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-error.exp @@ -29,7 +29,7 @@ if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } { # We can't use prepare_for_testing here because we need to check the # 'file' command's output. -if {[build_executable $testfile.exp $testfile $srcfile {nodebug}]} { +if {[build_executable $testfile.exp $testfile $srcfile {nodebug quiet}]} { return -1 }