From patchwork Tue Dec 21 22:46:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 76337 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 3504BB7080 for ; Wed, 22 Dec 2010 09:46:27 +1100 (EST) Received: (qmail 7342 invoked by alias); 21 Dec 2010 22:46:19 -0000 Received: (qmail 7305 invoked by uid 22791); 21 Dec 2010 22:46:18 -0000 X-SWARE-Spam-Status: No, hits=-2.9 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) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Dec 2010 22:46:13 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id oBLMkAeM005892 for ; Tue, 21 Dec 2010 14:46:10 -0800 Received: from pvc30 (pvc30.prod.google.com [10.241.209.158]) by wpaz24.hot.corp.google.com with ESMTP id oBLMk8lL027851 for ; Tue, 21 Dec 2010 14:46:09 -0800 Received: by pvc30 with SMTP id 30so1272053pvc.0 for ; Tue, 21 Dec 2010 14:46:08 -0800 (PST) Received: by 10.142.136.5 with SMTP id j5mr4022648wfd.162.1292971568362; Tue, 21 Dec 2010 14:46:08 -0800 (PST) Received: from coign.google.com (dhcp-172-22-122-207.mtv.corp.google.com [172.22.122.207]) by mx.google.com with ESMTPS id w42sm8179058wfh.3.2010.12.21.14.46.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 14:46:07 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org Subject: Go patch committed: Parallelize Go testsuite Date: Tue, 21 Dec 2010 14:46:06 -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 I committed this patch to parallelize the Go testsuite. This pulls out the long-running tests 64bit.go, chan/goroutines.go, and index.go into their own jobs (for simplicity I just pulled out all tests starting 6, c, and i). Everything else under go-test.exp gets packed into another job, and go-torture.exp and go-dg.exp get packed into yet another job. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu, the latter both with and without -j. Committed to mainline. Ian 2010-12-21 Ian Lance Taylor * Make-lang.in (check-go): Remove. (lang_checks_parallelized): Add check-go. (check_go_parallelize): Set. Index: gcc/go/Make-lang.in =================================================================== --- gcc/go/Make-lang.in (revision 168102) +++ gcc/go/Make-lang.in (working copy) @@ -119,8 +119,12 @@ go.man: doc/gccgo.1 go.srcman: doc/gccgo.1 -cp -p $^ $(srcdir)/doc -check-go: lang_checks += check-go +lang_checks_parallelized += check-go +check_go_parallelize = go-test.exp=*/test/\[0-57-9a-bd-hj-zA-Z\]* \ + go-test.exp=*/test/c* \ + go-test.exp=*/test/i* \ + go-test.exp=*/test/6* # Install hooks.