From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2Dh+IMZ121/TSwAAWB0awg (envelope-from ) for ; Thu, 17 Dec 2020 10:14:14 -0500 Received: by simark.ca (Postfix, from userid 112) id 803731F0AA; Thu, 17 Dec 2020 10:14:14 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [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 144D71E965 for ; Thu, 17 Dec 2020 10:14:12 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C21CD3896015; Thu, 17 Dec 2020 15:14:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C21CD3896015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1608218051; bh=/tPjUb8yw4RdrWSRWehcW93zv4aoRuMXL55X76NXha4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=gW5oY4OX7k71HuVOs4ExN3+2QlWByO6LtNhB6ZUAnNlV1wuhNbtXQnUdnRWCrT5nJ scTsiczh08u5aAkTu0onbcGWMW6rzgFKMDHobQsA/NDqGh8KCxWi4Np/QOrDnO2Xw9 410ISSijdCxTlGhHSVZ8wJHe4j7/1ZEV+WhXKE7I= Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by sourceware.org (Postfix) with ESMTPS id 1B57E3896033 for ; Thu, 17 Dec 2020 15:14:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1B57E3896033 IronPort-SDR: 550orl116z07CfYI40JLYW8mD+cjFfYVFxcDu5rIBoRaS1hWtCGoWSZJCJJMgRX6cH9Em8XThc ewmgJmt3uIxQ== X-IronPort-AV: E=McAfee;i="6000,8403,9837"; a="171761552" X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="171761552" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 07:14:02 -0800 IronPort-SDR: 8TgPMKxyVL/FrCoGm6b71/QvN7OH6aj3sVtzvb/byRTWQnzbl1gAZlW643iCiFuPjmtVean4/W 6CyglCbrt5qQ== X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="339597368" Received: from labpc2407.iul.intel.com (HELO localhost) ([172.28.50.61]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 07:14:01 -0800 To: gdb-patches@sourceware.org Subject: [PATCH 2/4] testsuite, gdb.python: make py-record-*.exp test names unique Date: Thu, 17 Dec 2020 16:12:10 +0100 Message-Id: <20201217151212.1179058-3-markus.t.metzger@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201217151212.1179058-1-markus.t.metzger@intel.com> References: <20201217151212.1179058-1-markus.t.metzger@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: Markus Metzger via Gdb-patches Reply-To: Markus Metzger Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" gdb/testsuite/ChangeLog: 2020-12-14 Markus Metzger * gdb.python/py-record-btrace.exp: Make test names unique. * gdb.python/py-record-full.exp: Likewise. --- gdb/testsuite/gdb.python/py-record-btrace.exp | 7 +++++-- gdb/testsuite/gdb.python/py-record-full.exp | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.python/py-record-btrace.exp b/gdb/testsuite/gdb.python/py-record-btrace.exp index 3a84cbe7ac4..d113ed640fd 100644 --- a/gdb/testsuite/gdb.python/py-record-btrace.exp +++ b/gdb/testsuite/gdb.python/py-record-btrace.exp @@ -44,10 +44,13 @@ with_test_prefix "no or double record" { gdb_test "python print(gdb.current_recording())" "None" gdb_test_no_output "python gdb.start_recording(\"btrace\")" - gdb_test "python gdb.start_recording(\"btrace\")" ".*gdb\.error: The process is already being recorded\..*" + gdb_test "python gdb.start_recording(\"btrace\")" \ + ".*gdb\.error: The process is already being recorded\..*" \ + "already recording" gdb_test_no_output "python gdb.stop_recording()" "first" - gdb_test "python gdb.stop_recording()" ".*gdb\.error: No recording is currently active\..*" "second" + gdb_test "python gdb.stop_recording()" \ + ".*gdb\.error: No recording is currently active\..*" "second" } with_test_prefix "preopened record btrace" { diff --git a/gdb/testsuite/gdb.python/py-record-full.exp b/gdb/testsuite/gdb.python/py-record-full.exp index a1f24a3634f..0b67788d4fd 100644 --- a/gdb/testsuite/gdb.python/py-record-full.exp +++ b/gdb/testsuite/gdb.python/py-record-full.exp @@ -44,10 +44,13 @@ with_test_prefix "no or double record" { gdb_test "python print(gdb.current_recording())" "None" gdb_test_no_output "python gdb.start_recording(\"full\")" - gdb_test "python gdb.start_recording(\"full\")" ".*gdb\.error: The process is already being recorded\..*" + gdb_test "python gdb.start_recording(\"full\")" \ + ".*gdb\.error: The process is already being recorded\..*" \ + "already recording" gdb_test_no_output "python gdb.stop_recording()" "first" - gdb_test "python gdb.stop_recording()" ".*gdb\.error: No recording is currently active\..*" "second" + gdb_test "python gdb.stop_recording()" \ + ".*gdb\.error: No recording is currently active\..*" "second" } with_test_prefix "preopened record full" { -- 2.26.2 Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928