From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 241FA385E455 for ; Thu, 27 Jan 2022 17:47:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 241FA385E455 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-652-QQoDYbIaMI2Mh4Vu4w3krg-1; Thu, 27 Jan 2022 12:47:55 -0500 X-MC-Unique: QQoDYbIaMI2Mh4Vu4w3krg-1 Received: by mail-ej1-f71.google.com with SMTP id gb4-20020a170907960400b0069d1ebc4538so1681305ejc.2 for ; Thu, 27 Jan 2022 09:47:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WVTNUrHBmtmmiEFUVgznrlHDkRUzx3SnvJutQ4IRW0A=; b=nDk0j+AE47hGFRiS0tjM6+bbYwNMpZ1NiNAk5NXARyw7MV3rEErf9kwzVYIGjSqDzg NH0Mt1iTL1mSHCLVMoPhp9/xH+Mo8w/CQvnzgqnLRF937ydEzJd2jMPNfWovJB4uWMMq 9lVKvkRZdX2VSPoyBe4+U1GUAhbfMtIvF5zlRswh0mRKoXFwggDZYX+ZGIRNApLFG6Vt AASpqcVOGXqG9p+xKFRVKvWGuKL8SHzrmJ1ugpT8xFnevjuCVl5lKx4D875Ku3jKGgJQ 1ADinc3s7CfTeUKbMFMncblZzcCRewNFSksTN393BhO0YifLYbf8RlIHLSiFwLaft6K4 7mww== X-Gm-Message-State: AOAM531I0G1eB/M3SVfoLBNIOvrPVRjcQX0/QsUQwSQivxGYtU/jQ5CP YME4Cwf/h1K092i+XMNMKyVn/Vjwt4lgdGU5JG+zRA/gRmM3cUA9KC2aqhkbIovq97ZbEYt26Wb Gf6664TjfH7HNmqFtUQ1EDoPuFIx5f5Ykhbk82jdiieTTgMq1h4H1Z/53wG5ij0ELmKeRrQK/ng == X-Received: by 2002:a17:907:1c1d:: with SMTP id nc29mr3771643ejc.356.1643305674366; Thu, 27 Jan 2022 09:47:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJw35wkMxeJsoC6anSS6WlzrIs8iLbdhPZHAOtQvCExMDY34GlCfdOAmPBPGLL+TroqZ9RD8xg== X-Received: by 2002:a17:907:1c1d:: with SMTP id nc29mr3771630ejc.356.1643305674104; Thu, 27 Jan 2022 09:47:54 -0800 (PST) Received: from localhost (92.40.178.10.threembb.co.uk. [92.40.178.10]) by smtp.gmail.com with ESMTPSA id lt2sm8942076ejb.50.2022.01.27.09.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 09:47:53 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCHv2 3/6] gdb/testsuite: move linespec test into gdb.linespec/ directory Date: Thu, 27 Jan 2022 17:47:41 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Thu, 27 Jan 2022 17:47:58 -0000 The gdb.base/linespecs.exp test should really live in the gdb.linespec directory, so lets move it there. As we already have gdb.linespec/linespec.exp, I've renamed the test to gdb.linespec/errors.exp, as this better reflects what the test is actually checking. Finally, the test script doesn't have its own source file, it was reusing a random other source file, gdb.base/memattr.c. Now the tests script is in gdb.linespec/, I've updated the test to use a different source file from that directory. --- .../{gdb.base/linespecs.exp => gdb.linespec/errors.exp} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename gdb/testsuite/{gdb.base/linespecs.exp => gdb.linespec/errors.exp} (94%) diff --git a/gdb/testsuite/gdb.base/linespecs.exp b/gdb/testsuite/gdb.linespec/errors.exp similarity index 94% rename from gdb/testsuite/gdb.base/linespecs.exp rename to gdb/testsuite/gdb.linespec/errors.exp index bc16863a3e3..0baef1891a7 100644 --- a/gdb/testsuite/gdb.base/linespecs.exp +++ b/gdb/testsuite/gdb.linespec/errors.exp @@ -18,7 +18,7 @@ # We don't currently need our own test case for testing, so grab # another one. -if {[prepare_for_testing "failed to prepare" linespecs memattr.c]} { +if {[prepare_for_testing "failed to prepare" linespecs keywords.c]} { return -1 } -- 2.25.4