aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-05-10 16:49:56 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-05-10 17:56:16 +0100
commit9344937b0462392f8996176c1f6d39ffc8eb84f5 (patch)
treefc904bd54bcd7a73c84dc7a1ee56ac5f8de4e2ec /gdb/testsuite/ChangeLog
parent0709cf686d42d00066ead084ceef1fbfd44ca558 (diff)
downloadgdb-9344937b0462392f8996176c1f6d39ffc8eb84f5.zip
gdb-9344937b0462392f8996176c1f6d39ffc8eb84f5.tar.gz
gdb-9344937b0462392f8996176c1f6d39ffc8eb84f5.tar.bz2
gdb/testsuite: don't use source tree as temporary HOME directory
In this commit: commit 1845e254645efbc02248345ccdb557d265dd8ae1 Date: Wed May 5 16:50:17 2021 +0100 gdb/guile: perform tilde expansion when sourcing guile scripts A test was added that tries to source a guile script from the users HOME directory. In order to achieve this the test (temporarily) modifies $HOME to point into the binutils-gdb source tree. The problem with this is that sourcing a guile script can cause the guile script to be byte compiled and written into a .cache/ directory, which is stored .... in the $HOME directory. The result was that the test added in the above commit would cause a .cache/ directory to be added into the binutils-gdb source tree. In this commit the test is updated to create a new directory in the build tree, the file we want to source is copied over, and $HOME is set to point at the location in the build tree. Now when the test is run the .cache/ directory is created in the build tree, leaving the source tree untouched. gdb/testsuite/ChangeLog: * gdb.guile/guile.exp: Don't use the source directory as a temporary HOME directory.
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 a22e014..b3a41bd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb.guile/guile.exp: Don't use the source directory as a
+ temporary HOME directory.
+
2021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.arch/amd64-osabi.exp (test_osabi_none): Use the