change naming convention for tests from

test*.go
to
	*test.go

R=rsc
DELTA=1747  (864 added, 855 deleted, 28 changed)
OCL=19666
CL=19666
This commit is contained in:
Rob Pike 2008-11-19 19:11:01 -08:00
parent 64023e7b7d
commit 12254b6c0b
18 changed files with 24 additions and 32 deletions

View file

@ -74,6 +74,9 @@ func TRunner(t *T, test *Test) {
export func Main(tests *[]Test) {
ok := true;
if len(tests) == 0 {
println("gotest: warning: no tests to run");
}
for i := 0; i < len(tests); i++ {
if chatty {
println("=== RUN ", tests[i].name);