From patchwork Wed Feb 2 15:50:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 81467 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7708BB7109 for ; Thu, 3 Feb 2011 02:51:23 +1100 (EST) Received: (qmail 29259 invoked by alias); 2 Feb 2011 15:51:21 -0000 Received: (qmail 29249 invoked by uid 22791); 2 Feb 2011 15:51:20 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 15:51:13 +0000 Received: from kpbe15.cbf.corp.google.com (kpbe15.cbf.corp.google.com [172.25.105.79]) by smtp-out.google.com with ESMTP id p12FpBSe011208 for ; Wed, 2 Feb 2011 07:51:11 -0800 Received: from pwi10 (pwi10.prod.google.com [10.241.219.10]) by kpbe15.cbf.corp.google.com with ESMTP id p12FntFK032040 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 2 Feb 2011 07:51:09 -0800 Received: by pwi10 with SMTP id 10so135535pwi.13 for ; Wed, 02 Feb 2011 07:51:07 -0800 (PST) Received: by 10.142.178.9 with SMTP id a9mr8895194wff.263.1296661867163; Wed, 02 Feb 2011 07:51:07 -0800 (PST) Received: from coign.google.com ([67.218.107.234]) by mx.google.com with ESMTPS id w14sm31549422wfd.6.2011.02.02.07.50.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Feb 2011 07:51:06 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: libgo patch committed: Set tmpdir in libgo.exp Date: Wed, 02 Feb 2011 07:50:19 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This libgo patch sets tmpdir when running the DejaGNU testsuite, to avoid using /tmp which can cause collisions when running the testsuite for multiple targets simultaneously. Bootstrapped on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r 4994e870dd88 libgo/testsuite/lib/libgo.exp --- a/libgo/testsuite/lib/libgo.exp Tue Feb 01 13:19:19 2011 -0800 +++ b/libgo/testsuite/lib/libgo.exp Wed Feb 02 07:40:46 2011 -0800 @@ -21,6 +21,10 @@ 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 }