From patchwork Tue Feb 25 14:40:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 38304 Received: (qmail 13173 invoked by alias); 25 Feb 2020 14:41:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 13163 invoked by uid 89); 25 Feb 2020 14:41:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:andrew, H*m:andrew X-HELO: mail-wm1-f52.google.com Received: from mail-wm1-f52.google.com (HELO mail-wm1-f52.google.com) (209.85.128.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Feb 2020 14:41:01 +0000 Received: by mail-wm1-f52.google.com with SMTP id a9so3402372wmj.3 for ; Tue, 25 Feb 2020 06:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id; bh=QRkDJ+7mk0JctMeCSzzCo8R/4JI2nVOxNycQbGqOc/c=; b=MEJe4rihs+bNa9+BBvo741ogo0WbvX5Y116xk/R2SNmropoCRpSN/1RMDegiYM7jfC pBApSDK+LrD0JE73nsNQAuK7YY0vo960Vl8WWYIso1lp7vteWVIdV2yRxx5TL8MIOvie K1cLDS7Z14mmfrZjCOiDYWzAHg/KNuCEEXAZgDwduvxPdvvCEb/c/JPmeHDAhqMcyLkY 1r8F0jfHWTZ5TVCR5Ry+E7b4eRLvZfH18EoBjEacRygO/Tw1czOvHb/RaWBBX7zRIP/F 1LHyWAhA3aoj61VCdLcUJWvCd5akjMHQlwgq4iTHT4BbfkFip94MX0Gi/7z9JtiIs+iX KOJg== Return-Path: Received: from localhost (host86-186-80-160.range86-186.btcentralplus.com. [86.186.80.160]) by smtp.gmail.com with ESMTPSA id g2sm23598621wrw.76.2020.02.25.06.40.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Feb 2020 06:40:59 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb/testsuite: Remove source file path from test name Date: Tue, 25 Feb 2020 14:40:55 +0000 Message-Id: <20200225144055.957-1-andrew.burgess@embecosm.com> X-IsSubscribed: yes Having paths in test names makes comparing test results from two separate runs (in different directories) harder. gdb/testsuite/ChangeLog: * gdb.base/cached-source-file.exp: Avoid source file paths in test names. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/cached-source-file.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/cached-source-file.exp b/gdb/testsuite/gdb.base/cached-source-file.exp index 755416f25da..8457b1ee0c7 100644 --- a/gdb/testsuite/gdb.base/cached-source-file.exp +++ b/gdb/testsuite/gdb.base/cached-source-file.exp @@ -43,7 +43,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } { set bp_line [gdb_get_line_number "break-here" $srcfile] gdb_assert { [runto "$srcfile:$bp_line"] } \ - "run to $srcfile:$bp_line" + "run to break-here marker" # Do a "list" and check that the printed line matches the line of the # original source file.