diff options
author | Tom Tromey <tom@tromey.com> | 2018-09-28 14:32:42 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-06 22:48:17 -0600 |
commit | f9e48344d54f45368a5e449fb2ccca70a723cd3a (patch) | |
tree | cb080115501aa998d83a333c01f1cc7f542c2352 /gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp | |
parent | a8a5dbcab8df0b3a9e04745d4fe8d64740acb323 (diff) | |
download | gdb-f9e48344d54f45368a5e449fb2ccca70a723cd3a.zip gdb-f9e48344d54f45368a5e449fb2ccca70a723cd3a.tar.gz gdb-f9e48344d54f45368a5e449fb2ccca70a723cd3a.tar.bz2 |
Use standard_output_file in a couple more places
I noticed a few files left over in the testsuite/ directory in the
build tree after running tests. Normally output files should not wind
up there, but instead should end up in the test's subdirectory. This
isn't always crucial, but in the past there were problems with tests
clashing, preventing parallel runs, and so it is better to be clean
here.
This patch changes a couple of tests to use standard_output_file to
fix this problem.
Tested by re-running the tests in question and examining the
directory.
gdb/testsuite/ChangeLog
2018-10-06 Tom Tromey <tom@tromey.com>
* gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
* gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
Diffstat (limited to 'gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp b/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp index 9fd3a73..49bfba8 100644 --- a/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp +++ b/gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp @@ -22,7 +22,7 @@ if {![dwarf2_support]} { standard_testfile .c -set asm_file "${testfile}-dbg.s" +set asm_file [standard_output_file "${testfile}-dbg.s"] set opts {} if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile}1.o \ |