From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24464 invoked by alias); 16 Nov 2019 22:32:17 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 24451 invoked by uid 89); 16 Nov 2019 22:32:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.9 required=5.0 tests=BAYES_00,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=dramatic X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Nov 2019 22:32:15 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 2F24B20250; Sat, 16 Nov 2019 17:32:14 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [IPv6:2620:52:3:1:5054:ff:fe06:16ca]) by mx1.osci.io (Postfix) with ESMTP id 08849200EF; Sat, 16 Nov 2019 17:32:13 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id C775120AF6; Sat, 16 Nov 2019 17:32:12 -0500 (EST) X-Gerrit-PatchSet: 1 Date: Sat, 16 Nov 2019 22:32:00 -0000 From: "Simon Marchi (Code Review)" To: Andrew Burgess , gdb-patches@sourceware.org Cc: Tom Tromey Auto-Submitted: auto-generated X-Gerrit-MessageType: comment Subject: [review] gdb/testsuite: Merge whatis.exp and ctf-whatis.exp X-Gerrit-Change-Id: I09e11c70f197b79d2b1e0ae8c86a21c622be6c51 X-Gerrit-Change-Number: 123 X-Gerrit-ChangeURL: X-Gerrit-Commit: c9aeaa5277cd537c6382cf269c2bb21fcd01287a In-Reply-To: References: X-Gerrit-Comment-Date: Sat, 16 Nov 2019 17:32:12 -0500 Reply-To: gnutoolchain-gerrit@osci.io MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 Content-Type: text/plain; charset=UTF-8 Message-Id: <20191116223212.C775120AF6@gnutoolchain-gerrit.osci.io> X-SW-Source: 2019-11/txt/msg00499.txt.bz2 Simon Marchi has posted comments on this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/123 ...................................................................... Patch Set 1: Code-Review+1 (1 comment) Andrew, is there anything holding back this series? I noted a minor comment, but in general I think it's nice. | --- gdb/testsuite/gdb.base/whatis.exp | +++ gdb/testsuite/gdb.base/whatis.exp | @@ -586,0 +590,14 @@ if [compiler_supports_ctf_debug] { | + lappend specs {ctf {"additional_flags=-gt"}} | +} | + | +# Setup and run the test for each debug format. | +foreach testspec $specs { | + set prefix [lindex $testspec 0] | + set opts [lindex $testspec 1] | + | + with_test_prefix $prefix { | + remote_exec host "rm -rf [standard_output_file ${prefix}]" PS1, Line 599: Is this rm -rf necessary? I'm always a bit hesitant to use them in scripts, since the consequences of making a mistake in the command can be quite dramatic. This comment applies to the previous patch too. | + remote_exec host "mkdir -p [standard_output_file ${prefix}]" | + do_test $prefix $opts | + } | +} -- Gerrit-Project: binutils-gdb Gerrit-Branch: master Gerrit-Change-Id: I09e11c70f197b79d2b1e0ae8c86a21c622be6c51 Gerrit-Change-Number: 123 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Burgess Gerrit-Reviewer: Simon Marchi Gerrit-Reviewer: Tom Tromey Gerrit-Comment-Date: Sat, 16 Nov 2019 22:32:12 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment