Patchwork Go patch committed: Parallelize Go testsuite

mail settings
Submitter Ian Taylor
Date Dec. 21, 2010, 10:46 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/76337/
State New
Headers show


Ian Taylor - Dec. 21, 2010, 10:46 p.m.
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.


2010-12-21  Ian Lance Taylor  <>

	* (check-go): Remove.
	(lang_checks_parallelized): Add check-go.
	(check_go_parallelize): Set.


Index: gcc/go/
--- gcc/go/	(revision 168102)
+++ gcc/go/	(working copy)
@@ -119,8 +119,12 @@ doc/gccgo.1
 go.srcman: doc/gccgo.1
 	-cp -p $^ $(srcdir)/doc
 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.