summaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-02-16 09:00:51 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-02-16 09:01:38 -0500
commitc4ef31bf6fb68f0024800565a532015fc3390aaa (patch)
tree34fa1d537dace3c63d8bb2e98c59e2264f7f94dd /gdb/testsuite/ChangeLog
parent266b65b33e23c916e5e698d24c37f65d90645a19 (diff)
downloadbinutils-gdb-c4ef31bf6fb68f0024800565a532015fc3390aaa.tar.gz
testsuite: Make standard_temp_file use invocation-specific directories
Just like standard_output_file, standard_temp_file should use multiple directories to make the tests parallel-safe. However, standard_temp_file is sometimes called in some procedures that are not test-specific. For example, gdb_init uses it, but is called once before all test files are ran. Therefore, we can't organize it in a temp/gdb.subdir/testname layout, like standard_output_file. Because it's just meant for temporary files that don't really need to be inspected after the test, we can just put them in a directory based on the runtest pid. There is always a single exp file being executed by a particular runtest invocation at any given time, so it should be safe. gdb/testsuite/ChangeLog: * lib/gdb.exp (standard_temp_file): Return a path specific to the runtest invocation.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5c663ef3c5f..fa4eecf5180 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
+ * lib/gdb.exp (standard_temp_file): Return a path specific to
+ the runtest invocation.
+
+2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
+
* gdb.trace/save-trace.exp: Change relative path to be in the
standard output directory.