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 | aaf4959f6ceb744aaadee93988465d91a0b7ebb4 (patch) | |
tree | c76279c4de1890304a3e538c5fad28ad7f02f660 /src/Make.pkg | |
parent | c923b4d78393d1cc9f7472a9dcf415dc95ceaa30 (diff) | |
download | go-aaf4959f6ceb744aaadee93988465d91a0b7ebb4.tar.gz |
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
http://codereview.appspot.com/4317043
Diffstat (limited to 'src/Make.pkg')
-rw-r--r-- | src/Make.pkg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Make.pkg b/src/Make.pkg index d8d034dfa..8eadb111c 100644 --- a/src/Make.pkg +++ b/src/Make.pkg @@ -60,6 +60,9 @@ CLEANFILES+=*.so _obj _test _testmain.go *.exe _cgo* *.cgo[12].* test: gotest +testshort: + gotest -test.short + bench: gotest -test.bench=. -test.run="Do not run tests" |