From patchwork Fri Jan 11 23:29:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 31036 Received: (qmail 55506 invoked by alias); 11 Jan 2019 23:30:23 -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 55380 invoked by uid 89); 11 Jan 2019 23:30:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=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.2 spammy=Reading, reading X-HELO: mail-wm1-f65.google.com Received: from mail-wm1-f65.google.com (HELO mail-wm1-f65.google.com) (209.85.128.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Jan 2019 23:30:03 +0000 Received: by mail-wm1-f65.google.com with SMTP id b11so3887700wmj.1 for ; Fri, 11 Jan 2019 15:30:02 -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=Ev4w7BJO3inVXmFeLPCs7g+ZcWtvhiUH9Qgc2obBEBk=; b=EbOCVleFBLOeSFvS1WpPvtmk0YAZRCcF/RVFZi4E8DcnTn7ogDQOJ7X+Ud8lbbXSrj aJHwx9K5AhO3Sg1n78V7dk+19MPl7VizryltwrWmtT9qm3MuwZn1zsyacvs6V4sTPh7q 9wZC8OmI6roufHZWosldl1Zcpi/OobPRzO2gyVsD3Sxoni8rTFpP3j3hUTeYu8o/IfPh HfsrmafLu5QBvbZbfbX7FWk9ilBgZdMuHzDHtOuf2vfTPwk5djY2ONDfXhi97JSovxe2 qXpJ4cI8v2WSNs0K8AWPsPdpIubvJFQOk1hHJ1Cp5/xnC8Cndz7PcL+RJovEMOKJzS2c H8Gg== Return-Path: Received: from localhost (host86-172-198-47.range86-172.btcentralplus.com. [86.172.198.47]) by smtp.gmail.com with ESMTPSA id p6sm78919140wrx.50.2019.01.11.15.29.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 15:29:59 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCH] gdb/testsuite: Don't allow paths to appear in test name Date: Fri, 11 Jan 2019 23:29:53 +0000 Message-Id: <20190111232953.20100-1-andrew.burgess@embecosm.com> X-IsSubscribed: yes Having paths in the test names makes it harder to compare results between two runs in different directories. Give the test a name so that the path doesn't appear. gdb/ChangeLog: * gdb.base/style.exp: Don't include path in testname. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/style.exp | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/testsuite/gdb.base/style.exp b/gdb/testsuite/gdb.base/style.exp index 268f8018cd9..78d04b02903 100644 --- a/gdb/testsuite/gdb.base/style.exp +++ b/gdb/testsuite/gdb.base/style.exp @@ -54,4 +54,5 @@ save_vars { env(TERM) } { set quoted [string_to_regexp $binfile] gdb_test "file $binfile" \ "Reading symbols from \033\\\[32m${quoted}\033\\\[m..." \ + "filename is styled when loading symbol file" }