From: Ian Lance Taylor Date: Wed, 2 Feb 2011 15:50:16 +0000 (+0000) Subject: libgo.exp: Set tmpdir. X-Git-Tag: releases/gcc-4.6.0~794 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d46efcfe977c4ccde0f70bf9bce3500ac740745b;p=thirdparty%2Fgcc.git libgo.exp: Set tmpdir. From-SVN: r169529 --- diff --git a/libgo/testsuite/lib/libgo.exp b/libgo/testsuite/lib/libgo.exp index 29764d924468..a6d44323d3e6 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 }