From d406f8f650f26d567f543b33bd409bca9a434f50 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 25 Mar 2011 14:50:44 -0700 Subject: testing: set up structure for faster testing using the new -test.short flag. New make target "testshort" runs "gotest -test.short" and is invoked by run.bash, which is invoked by all.bash. Use -test.short to make one package (crypto ecdsa) run much faster. More changes to come. Once this is in, I will update the long-running tests to use the new flag. R=rsc CC=golang-dev https://golang.org/cl/4317043 --- src/run.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/run.bash') diff --git a/src/run.bash b/src/run.bash index be90af0da6..dd80d3ab64 100755 --- a/src/run.bash +++ b/src/run.bash @@ -39,7 +39,7 @@ if $rebuild; then fi (xcd pkg -gomake test +gomake testshort ) || exit $? (xcd pkg/sync; @@ -47,7 +47,7 @@ if $rebuild; then gomake clean; time gomake fi -GOMAXPROCS=10 gomake test +GOMAXPROCS=10 gomake testshort ) || exit $? [ "$GOARCH" == arm ] || -- cgit v1.3-5-g9baa