summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-09-24 00:06:31 -0400
committerRuss Cox <rsc@golang.org>2012-09-24 00:06:31 -0400
commit7ea1eaee177e135dcaa14f3b3750c2cda7fa23ba (patch)
tree11219d51de8433f5cf73934b11c981cfd5210012 /test/run
parentaf6fc658fed9ed8f601951c101f9fdcc38cca86a (diff)
downloadgo-7ea1eaee177e135dcaa14f3b3750c2cda7fa23ba.tar.gz
test: minor fixes in run and testlib
Can tell this doesn't get run very often, but it is still important for when you've broken everything else. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/6547065
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run b/test/run
index 29a7905f0..d206312a2 100755
--- a/test/run
+++ b/test/run
@@ -54,6 +54,8 @@ true >pass.out >times.out
exclude=false # exclude nothing
golden=golden.out
+rm -f tmp.go # generated by some tests, left behind if interrupted
+
filterout() {
grep '^'"$2"'$' $1 >/dev/null
}