This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Go patch committed: Parallelize Go testsuite


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.


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.
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]