diff options
| author | Rob Pike <r@golang.org> | 2011-03-25 14:50:44 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2011-03-25 14:50:44 -0700 |
| commit | d406f8f650f26d567f543b33bd409bca9a434f50 (patch) | |
| tree | c88c2584b90a5dc1a3bab932e05929488d3870ca /src/run.bash | |
| parent | 47c1cef56b77263bcabada3f193d1c8f271879e7 (diff) | |
| download | go-d406f8f650f26d567f543b33bd409bca9a434f50.tar.xz | |
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
Diffstat (limited to 'src/run.bash')
| -rwxr-xr-x | src/run.bash | 4 |
1 files changed, 2 insertions, 2 deletions
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 ] || |
