public inbox for
help / color / mirror / Atom feed
* [binutils-gdb] Put corefile-run.core into test subdirectory
@ 2022-05-13 14:16 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-05-13 14:16 UTC (permalink / raw)
  To: gdb-cvs;h=f1025b233f6dad43981f5ad35c81481f8d3658bf

commit f1025b233f6dad43981f5ad35c81481f8d3658bf
Author: Tom Tromey <>
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.

 gdb/testsuite/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/ b/gdb/testsuite/
index 0529a83f3cb..219ebadadae 100644
--- a/gdb/testsuite/
+++ b/gdb/testsuite/
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 14:16 [binutils-gdb] Put corefile-run.core into test subdirectory Tom Tromey

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).