1
0
mirror of https://github.com/golang/go synced 2024-11-22 09:14:40 -07:00

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
https://golang.org/cl/6547065
This commit is contained in:
Russ Cox 2012-09-24 00:06:31 -04:00
parent 3d5ddffa30
commit 3cd890dd5a
2 changed files with 3 additions and 1 deletions

View File

@ -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
}

View File

@ -12,7 +12,7 @@ compile() {
compiledir() {
for gofile in $D/$F.dir/*.go
do
$G ${gofile} || return 1
$G -I. "$gofile" || return 1
done
}