From patchwork Fri Mar 29 22:31:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 87839 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 09D98385841C for ; Fri, 29 Mar 2024 22:31:49 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org 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 59FF23858D37 for ; Fri, 29 Mar 2024 22:31:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 59FF23858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 59FF23858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711751485; cv=none; b=EqjbIx/D4tE/3u2OxQdYOcud1BlCWJjy19uYAp6Jr4zNV6qfVU4IZCXjdqEeRgqSfnPVMZE3OBnGV/Mq2PV/+MUHBFsGPJNhEiBA/Oesd6/sVd2ssXA5jXbfgypncO/tLCAH2TZZUw44EhIbWQV5qg2yorNEie2EMZ9/Uf69N7s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711751485; c=relaxed/simple; bh=jSynSuE/fhR8mb/tgnY+LqFTPF2XqZQd32guZsS/Bac=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=MRz/4X8IFRjZTc9DyosH5stsPUYl8az/WNHWNKppac8mT/vvK9beOnh++U0pJIipWhJmnggZD6m8lsAdNqbvkC3domfsJy7+/rPYyPx4DVINye4J7uEJ3FiqsWulcB6jiV8rLvZjKNaMSqcWnSD+Rlr/GF8M99Sgmnvjql0aW+E= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711751483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HGCLJDe1aBS1hjb1Pd1OE73/ax9GJ9OP9b7UaL9HhAc=; b=H5hZ4MlWka/Sx5jS0HyvKxYdhoJCsundbVC+Op2i48e+qk1zZG6YWIFS5FWUDhSuj6NQDl HIbfFAoCc53K4VZmGV0PvkGALqPUs1jNDUmoQWUf4K9Dmh4MCgsy6pZuVi8+eTq5auNdll gEsyEgXLYKO6lI6K9Pk4J+RSVyBrgUw= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-128-x-w9rsmAOhalEeAyqSq58Q-1; Fri, 29 Mar 2024 18:31:22 -0400 X-MC-Unique: x-w9rsmAOhalEeAyqSq58Q-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-515af96a73bso1521687e87.2 for ; Fri, 29 Mar 2024 15:31:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711751480; x=1712356280; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HGCLJDe1aBS1hjb1Pd1OE73/ax9GJ9OP9b7UaL9HhAc=; b=UKoG2QzP6WuCwHw9sUDBj3GW87eJ2q3kHVl6TOfFjX8URk1QOPqRhVauF8yTnDoGXm oqNLcnBLwjZhh/XXprnR8Jpmxcxb/gZCCE8zfVCZxqWQrv8X0S702umZMhbRvIMl+gdy YQFP54mCHNrpjfdCMpXf64tB1bbupNO39umnxSaql4y9UKd8lq79BIfou/uB7ZzsJeMu fVAy+myD5v9tX+TEOQ6esXI8XfN02NenksDqxUHHi5POTQfw2X/f2WvV8rMFHBG1eHCB lo1ZoCJYmWjl7E3J5QFeVuyulSjsJLeKs/PGImEhs+MvEHbJLtSHbOp9S/cUSK38mgmP NOVw== X-Gm-Message-State: AOJu0Yz25HqLY8npqk3Oc8KxPt74QjER1BnbODzudYzhseq/1tuIwQDa RevYLjYAq8HZ1n2RQXKTLu3y5WMmpYByZNU2Ry+axoOS8o3VeQpbPeEy6JNAnht4k4R6NL7/aNH 8FKn5PtLga2gvjGc1JMewZidIFsbQpF4Bi6EEtmMl5OnXRh+dzk3n6DdWkHxVJHHzZ8LW9SBgIV 66KMxfeOVnqgKcCODq8N49Q5AfmZLVLkJdcycl+DokBXc= X-Received: by 2002:ac2:446b:0:b0:515:a733:2e0e with SMTP id y11-20020ac2446b000000b00515a7332e0emr1939383lfl.25.1711751480218; Fri, 29 Mar 2024 15:31:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4A347uLQEOpoEgCCJbV0iX+1npFgamwsYKNePQdlHrnhpD2GKokko0j34a4qwyNBbMK29Ug== X-Received: by 2002:ac2:446b:0:b0:515:a733:2e0e with SMTP id y11-20020ac2446b000000b00515a7332e0emr1939373lfl.25.1711751479639; Fri, 29 Mar 2024 15:31:19 -0700 (PDT) Received: from localhost (185.223.159.143.dyn.plus.net. [143.159.223.185]) by smtp.gmail.com with ESMTPSA id u23-20020a170906125700b00a47522c193asm2392263eja.196.2024.03.29.15.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 15:31:19 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb/testsuite: don't include port numbers in test names Date: Fri, 29 Mar 2024 22:31:16 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 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_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org The gdb.python/py-cmd-prompt.exp script includes a test that has a gdbserver port number within a test name. As port numbers can change from one test run to the next (depending on what else is running on the machine at the time), this can make it hard to compare test results between runs. Give the test a specific name to avoid including the port number. There is no change in what is tested after this commit. --- gdb/testsuite/gdb.python/py-cmd-prompt.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) base-commit: 43f8b6e2578a76fd96bf08172b2ea6fdcaf6c2e4 diff --git a/gdb/testsuite/gdb.python/py-cmd-prompt.exp b/gdb/testsuite/gdb.python/py-cmd-prompt.exp index a69211ce33d..ccb695f6638 100644 --- a/gdb/testsuite/gdb.python/py-cmd-prompt.exp +++ b/gdb/testsuite/gdb.python/py-cmd-prompt.exp @@ -39,7 +39,8 @@ gdb_test_no_output "source $pyfile" "source the script" set gdbserver [gdbserver_start "" [standard_output_file $binfile]] set gdbserver_gdbport [lindex $gdbserver 1] -gdb_test_no_output "python the_listener.port = '${gdbserver_gdbport}'" +gdb_test_no_output "python the_listener.port = '${gdbserver_gdbport}'" \ + "set the_listener.port value" gdb_run_cmd