Run the unit tests with GOMAXPROCS=4

This commit is contained in:
Alvaro Saurin committed 2015-06-16 14:58:53 +02:00
1 parent 8621aa7cbf
commit a1cb5b16a6
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ tests:
fail=0 ; \
for dir in $$(find . -type f -name '*_test.go' | xargs -n1 dirname | sort -u); do \
output=$$(mktemp cover.XXXXXXXXXX) ; \
if ! go test -tags netgo -covermode=count -coverprofile=$$output $$dir ; then \
if ! go test -cpu 4 -tags netgo -covermode=count -coverprofile=$$output $$dir ; then \
fail=1 ; \
fi ; \
if [ -f $$output ]; then \