Commit 3cd890dd authored by Russ Cox's avatar Russ Cox

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
parent 3d5ddffa
...@@ -54,6 +54,8 @@ true >pass.out >times.out ...@@ -54,6 +54,8 @@ true >pass.out >times.out
exclude=false # exclude nothing exclude=false # exclude nothing
golden=golden.out golden=golden.out
rm -f tmp.go # generated by some tests, left behind if interrupted
filterout() { filterout() {
grep '^'"$2"'$' $1 >/dev/null grep '^'"$2"'$' $1 >/dev/null
} }
......
...@@ -12,7 +12,7 @@ compile() { ...@@ -12,7 +12,7 @@ compile() {
compiledir() { compiledir() {
for gofile in $D/$F.dir/*.go for gofile in $D/$F.dir/*.go
do do
$G ${gofile} || return 1 $G -I. "$gofile" || return 1
done done
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment