diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-02-25 20:47:09 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-02-25 20:47:09 +0100 |
commit | 71b7d793371c3cff599c3329c5f3205240117731 (patch) | |
tree | cb6b62b6492393e2badba63714e0b09ca0cddc27 /gdb/testsuite/gdb.base/auto-load.exp | |
parent | b9e795ee5549c36dedd086c202f8aa3534c4b770 (diff) | |
download | gdb-71b7d793371c3cff599c3329c5f3205240117731.zip gdb-71b7d793371c3cff599c3329c5f3205240117731.tar.gz gdb-71b7d793371c3cff599c3329c5f3205240117731.tar.bz2 |
PR gdb/16626
gdb/testsuite/
2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/16626
* gdb.base/auto-load.exp: Fix out-of-srctree run.
Message-ID: <87k3cjt3jl.fsf@fleche.redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.base/auto-load.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/auto-load.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/auto-load.exp b/gdb/testsuite/gdb.base/auto-load.exp index 226711f..d0e93f0 100644 --- a/gdb/testsuite/gdb.base/auto-load.exp +++ b/gdb/testsuite/gdb.base/auto-load.exp @@ -20,8 +20,8 @@ if [is_remote host] { } set targetdir "${binfile}.dir" -set sourcescript "${binfile}-script" -set targetscriptdir "${targetdir}/[file dirname ${sourcescript}]" +set sourcescript "${srcdir}/${subdir}/${testfile}-script" +set targetscriptdir "${targetdir}/[file dirname ${binfile}]" set targetscript "${targetscriptdir}/${testfile}-gdb.gdb" remote_exec host "rm -rf ${targetdir}" |