summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-02 15:50:16 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-02 15:50:16 +0000
commit96d29b499d5a16cbf5ded8bdb3001a297abf67e7 (patch)
tree43b80c4053e9d8870c854dc422468c2fa01af565 /libgo
parentbd785057b42734e859f64428467a673ee3c00372 (diff)
downloadgcc-96d29b499d5a16cbf5ded8bdb3001a297abf67e7.tar.gz
libgo.exp: Set tmpdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169529 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/testsuite/lib/libgo.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/testsuite/lib/libgo.exp b/libgo/testsuite/lib/libgo.exp
index 29764d92446..a6d44323d3e 100644
--- a/libgo/testsuite/lib/libgo.exp
+++ b/libgo/testsuite/lib/libgo.exp
@@ -21,6 +21,10 @@ if {$gccdir != ""} {
set GOC_UNDER_TEST "$gccdir/gccgo -B$gccdir/"
set TESTING_IN_BUILD_TREE 1
+if [info exists GOTEST_TMPDIR] {
+ set tmpdir $GOTEST_TMPDIR
+}
+
proc go_maybe_build_wrapper { args } {
libgo_maybe_build_wrapper $args
}