Skip to content

Crash when running tests, no tests matching. #7

Closed
@gopherbot

Description

@gopherbot

by stephen.thorne:

What steps will reproduce the problem?
1. On Fedora 11, i386
2. Mercurial checkout, checkout tip was 3952:64e703cb307d / Tue Nov 10
14:09:01 2009 -0800
3. Run src$ ./all.bash

What is the expected output? What do you see instead?

An error occurs:
cd archive/tar && make test
make[1]: Entering directory `/home/sthorne/go/src/pkg/archive/tar'
gotest
make[2]: Entering directory `/home/sthorne/go/src/pkg/archive/tar'
rm -f _test/archive/tar.a _gotest_.8
make[2]: Leaving directory `/home/sthorne/go/src/pkg/archive/tar'
make[2]: Entering directory `/home/sthorne/go/src/pkg/archive/tar'
8g -o _gotest_.8 common.go reader.go writer.go    reader_test.go writer_test.go
rm -f _test/archive/tar.a
gopack grc _test/archive/tar.a _gotest_.8 
make[2]: Leaving directory `/home/sthorne/go/src/pkg/archive/tar'
gotest: error: no tests matching Test([^a-z].*)? in _test/archive/tar.a
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/sthorne/go/src/pkg/archive/tar'
make: *** [archive/tar.test] Error 2

What is your $GOOS?  $GOARCH?
GOROOT=/home/sthorne/go
GOOS=linux
GOARCH=386
GOBIN=/home/sthorne/bin

Which revision are you sync'ed to?  (hg log -l 1)
changeset:   3952:64e703cb307d
tag:         tip
user:        Russ Cox <rsc@golang.org>
date:        Tue Nov 10 14:09:01 2009 -0800
summary:     update video links


Please provide any additional information below.

I have attached the tar.a file below. Grepping through this file I do see
appropriate Test* methods.

Attachments:

  1. tar.a (261238 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions