diff mbox

Go patch committed: Parallelize Go testsuite

Message ID mcrmxnylp75.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Dec. 21, 2010, 10:46 p.m. UTC
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  <iant@google.com>

	* Make-lang.in (check-go): Remove.
	(lang_checks_parallelized): Add check-go.
	(check_go_parallelize): Set.
diff mbox

Patch

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.