From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EceNESlk1GHMJgAAWB0awg (envelope-from ) for ; Tue, 04 Jan 2022 10:13:45 -0500 Received: by simark.ca (Postfix, from userid 112) id 332D71F0DB; Tue, 4 Jan 2022 10:13:45 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2DD1F1ECEB for ; Tue, 4 Jan 2022 10:13:42 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D5BC385841A for ; Tue, 4 Jan 2022 15:13:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D5BC385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1641309221; bh=8dr6PQY3/Scaek/3ZBjmugpQPgicj3DUUaA1D430NBU=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=VypOYYuZbObidBVHBzMRaS41Iv8SBchesXemNbzfkqa0KYgFIOVkHkxXZH8jCImQo 7ZApnt5veEGILEqa9nPjhrj8WC+OGii2q5//v8LlkvhkPusm7/bL9ThTjIybORduie 2bYTJ/JaPueg5iwLwAgisXcd6QNFeAgqaKBEX4mw= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 6E3613858C2C for ; Tue, 4 Jan 2022 15:13:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6E3613858C2C Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-461-BCU5_d8yMQKqSlEFWVPVbA-1; Tue, 04 Jan 2022 10:13:21 -0500 X-MC-Unique: BCU5_d8yMQKqSlEFWVPVbA-1 Received: by mail-wm1-f70.google.com with SMTP id d4-20020a05600c34c400b00345d5d47d54so387629wmq.6 for ; Tue, 04 Jan 2022 07:13:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8dr6PQY3/Scaek/3ZBjmugpQPgicj3DUUaA1D430NBU=; b=F8Hb1TB5GiCV0UMV9kzwDDjuW7A8mztuPfBjf+Kzq93BOd6fO8POwSrS7Ou9g/i/NW rG4tfiW58qJrGTLMeQ5chOtw3MtPPzb7ZvIx2g2Q9SzSR7qUtAWkjouXw41E0yrNbyKh zANREhH5paUrkm4Ia6zfm2tn+vuaPc47cox9/OPdxXHqp3OG/Ofueqldm/VHbVXbial4 0+WRuQRbsf2PsT5SMsqOhyYLma5w3Kmjm+Nbg+PnDLXwplzNnf6JCxuy8/wDoC+d4Wdd KmjHASoQxdzNsXbodPyp0ZalvWrUv3xaqgqGBSYT7XArPDU7QFppGfbYIBXaAlNdViQp Y+Gg== X-Gm-Message-State: AOAM533MuwAsDjk9p2XQ0jjQJLM3pZ0pk2XjaTn2F8Q9Fe50+EUYEQ5v DRL0JPTgGonqrghA1hADe5lOz90goi6/f8AsC9WMy12G6Zp+kctoz8gcDl9gXjkPFwKyjX+C/zu SjRVypz1SC6ZCxcjdyFe3nA== X-Received: by 2002:a7b:c198:: with SMTP id y24mr42052278wmi.1.1641309199419; Tue, 04 Jan 2022 07:13:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7SEzlurlwy2Et+E6GJXJOsu7hITBozZCrNVluYSG9+A/FIErINrlRKAHj2R/CqIpcHrDrfg== X-Received: by 2002:a7b:c198:: with SMTP id y24mr42052262wmi.1.1641309199207; Tue, 04 Jan 2022 07:13:19 -0800 (PST) Received: from localhost (host109-154-163-67.range109-154.btcentralplus.com. [109.154.163.67]) by smtp.gmail.com with ESMTPSA id i8sm38645102wmq.4.2022.01.04.07.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 07:13:18 -0800 (PST) Date: Tue, 4 Jan 2022 15:13:18 +0000 To: Lancelot SIX Subject: Re: [PATCH 12/29] gdb/testsuite: Remove duplicates from gdb.base/ptype.exp Message-ID: <20220104151318.GM1845520@redhat.com> References: <20211121175636.779325-1-lsix@lancelotsix.com> <20211121175636.779325-13-lsix@lancelotsix.com> MIME-Version: 1.0 In-Reply-To: <20211121175636.779325-13-lsix@lancelotsix.com> X-Operating-System: Linux/5.8.18-100.fc31.x86_64 (x86_64) X-Uptime: 15:13:07 up 3 days, 7 min, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: , From: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" * Lancelot SIX via Gdb-patches [2021-11-21 17:56:19 +0000]: > When running the testsuite, I have: > > Running .../gdb/testsuite/gdb.base/ptype.exp ... > DUPLICATE: gdb.base/ptype.exp: ptype the_highest > DUPLICATE: gdb.base/ptype.exp: list intfoo > DUPLICATE: gdb.base/ptype.exp: list charfoo > > Fix by adjusting the offending test names. > > Tested on x86_64-linux. LGTM. Thanks, Andrew > --- > gdb/testsuite/gdb.base/ptype.exp | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/gdb/testsuite/gdb.base/ptype.exp b/gdb/testsuite/gdb.base/ptype.exp > index 375a9431aa4..5408abae192 100644 > --- a/gdb/testsuite/gdb.base/ptype.exp > +++ b/gdb/testsuite/gdb.base/ptype.exp > @@ -509,7 +509,7 @@ gdb_test "ptype the_highest" \ > > gdb_test "ptype the_highest.anonymous_level_1" \ > "type = struct \{.*\[\r\n\] *int b;.*\[\r\n\] *struct \{.*\[\r\n\] *int c;.*\[\r\n\] *\} anonymous_level_2;.*\[\r\n\]}.*" \ > - "ptype the_highest" > + "ptype the_highest.anonymous_level_1" > > get_debug_format > > @@ -578,9 +578,9 @@ gdb_test "list intfoo" ".*" > gdb_test "ptype foo" "type = int" "ptype foo typedef after first list of intfoo" > gdb_test "list charfoo" ".*" > gdb_test "ptype foo" "type = char" "ptype foo typedef after first list of charfoo" > -gdb_test "list intfoo" ".*" > +gdb_test "list intfoo" ".*" "second list intfoo" > gdb_test "ptype foo" "type = int" "ptype foo typedef after second list of intfoo" > -gdb_test "list charfoo" ".*" > +gdb_test "list charfoo" ".*" "second list charfoo" > gdb_test "ptype foo" "type = char" "ptype foo typedef after second list of charfoo" > > # Test printing type of string constants and array constants, but > -- > 2.33.1 >