public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] Put corefile-run.core into test subdirectory
Date: Fri, 13 May 2022 14:16:40 +0000 (GMT)	[thread overview]
Message-ID: <20220513141640.F3A67396D807@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f1025b233f6dad43981f5ad35c81481f8d3658bf

commit f1025b233f6dad43981f5ad35c81481f8d3658bf
Author: Tom Tromey <tromey@adacore.com>
Date:   Mon Apr 25 11:20:48 2022 -0600

    Put corefile-run.core into test subdirectory
    
    I noticed that corefile-run.core ends up in the 'runtest' directory.
    It's better, when at all possible, for test files to end up in the
    test's designated subdirectory.  This patch makes this change.

Diff:
---
 gdb/testsuite/gdb.tui/corefile-run.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.tui/corefile-run.exp b/gdb/testsuite/gdb.tui/corefile-run.exp
index 0529a83f3cb..219ebadadae 100644
--- a/gdb/testsuite/gdb.tui/corefile-run.exp
+++ b/gdb/testsuite/gdb.tui/corefile-run.exp
@@ -22,7 +22,7 @@ tuiterm_env
 
 standard_testfile tui-layout.c
 
-set core "${testfile}.core"
+set core [standard_output_file "${testfile}.core"]
 
 if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } {
     return -1


                 reply	other threads:[~2022-05-13 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220513141640.F3A67396D807@sourceware.org \
    --to=tromey@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).