diff options
author | Russ Cox <rsc@golang.org> | 2012-09-24 00:06:31 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-09-24 00:06:31 -0400 |
commit | 7ea1eaee177e135dcaa14f3b3750c2cda7fa23ba (patch) | |
tree | 11219d51de8433f5cf73934b11c981cfd5210012 | |
parent | af6fc658fed9ed8f601951c101f9fdcc38cca86a (diff) | |
download | go-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
-rwxr-xr-x | test/run | 2 | ||||
-rw-r--r-- | test/testlib | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 } diff --git a/test/testlib b/test/testlib index 90f400dd8..29de7672c 100644 --- a/test/testlib +++ b/test/testlib @@ -12,7 +12,7 @@ compile() { compiledir() { for gofile in $D/$F.dir/*.go do - $G ${gofile} || return 1 + $G -I. "$gofile" || return 1 done } |