diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-25 11:20:48 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-05-13 08:16:31 -0600 |
commit | f1025b233f6dad43981f5ad35c81481f8d3658bf (patch) | |
tree | efd2c3097921799493794a06ff08056342bdc893 | |
parent | 28c5801a94ea5943213b2a304a00a3eb1f2ef622 (diff) | |
download | binutils-f1025b233f6dad43981f5ad35c81481f8d3658bf.zip binutils-f1025b233f6dad43981f5ad35c81481f8d3658bf.tar.gz binutils-f1025b233f6dad43981f5ad35c81481f8d3658bf.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/gdb.tui/corefile-run.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.tui/corefile-run.exp b/gdb/testsuite/gdb.tui/corefile-run.exp index 0529a83..219ebad 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 |