-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when running tests, no tests matching. #7
Labels
Comments
I'm also seeing this issue, linux/amd64 $ 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 $ GOROOT=/usr/local/src/go/mercurial_repo GOOS=linux GOARCH=amd64 sh -x gotest + _GC= + . /usr/local/src/go/mercurial_repo/src/Make.amd64 ++ O=6 ++ AS=6a ++ CC=6c ++ GC=6g ++ LD=6l ++ OS=568vq ++ CFLAGS=-FVw + '[' -z 6 ']' + E= + case "$GOOS" in + case x"$GOARCH" in + GC=6g + GL=6l + GC='6g -I _test' + GL='6l -L _test' + export GC GL O AS CC LD + gofiles= + loop=true + true + case "x$1" in + loop=false + false + case "x$gofiles" in +++ ls reader_test.go writer_test.go '*_test.pb.go' ++ echo -n reader_test.go writer_test.go + gofiles='reader_test.go writer_test.go' + case "x$gofiles" in + sh + sed -n 's/^\/\/ gotest: //p' reader_test.go writer_test.go +++ grep '^package[ ]' reader_test.go writer_test.go /dev/null +++ grep ':.*_test' +++ sed 's/:.*//' ++ echo + xgofiles= +++ grep '^package[ ]' reader_test.go writer_test.go /dev/null +++ grep -v ':.*_test' +++ sed 's/:.*//' ++ echo reader_test.go writer_test.go + gofiles='reader_test.go writer_test.go' + xofile= + havex=false + '[' x '!=' x ']' + set -e + make testpackage-clean rm -f _test/archive/tar.a _gotest_.6 + make testpackage 'GOTESTFILES=reader_test.go writer_test.go' 6g -o _gotest_.6 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_.6 + false + trap 'rm -f _testmain.go _testmain.6' 0 1 2 3 14 15 + MAKEFLAGS= + MAKELEVEL= ++ make -s importpath + importpath=archive/tar + pattern='Test([^a-z].*)?' ++ 6nm -s _test/archive/tar.a ++ egrep ' T .*·Test([^a-z].*)?$' ++ grep -v '·.*[.·]' ++ sed 's/.* //; s/·/./' + tests= + '[' x = x ']' + echo 'gotest: error: no tests matching Test([^a-z].*)?' in _test/archive/tar.a gotest: error: no tests matching Test([^a-z].*)? in _test/archive/tar.a + exit 2 + rm -f _testmain.go _testmain.6 |
This issue was closed by revision 9604f7b. Status changed to Fixed. Merged into issue #-. |
Comment 5 by aphax@hotmail.com: I just wanted to note that despite already having that revision, the problem still occurs. I can work around it by setting LC_ALL=C, as suggested on the CommonProblems page. |
This is still occurring for me; the LC_ALL=C workaround does not help. $ hg log -l 1 changeset: 3977:a522a4541e0e tag: tip user: Russ Cox <rsc@golang.org> date: Tue Nov 10 23:42:21 2009 -0800 summary: lib9: rip out platform specific code that breaks on pclinuxos $ env | grep LC_ALL LC_ALL=C $ env | grep '^GO' GOBIN=/home/adam/sandbox/go/bin GOARCH=amd64 GOROOT=/home/adam/sandbox/go GOOS=linux |
Comment 8 by cristian_r_rojas@yahoo.com: The compiler, linker, etc are created and they seem to work but any program fails to run For example tcsh> ls -l /local/bin/6* -rwxr-xr-x 1 nt022cr aplprg4 242068 Nov 20 15:19 /local/bin/6a -rwxr-xr-x 1 nt022cr aplprg4 693138 Nov 20 15:19 /local/bin/6c -rwxr-xr-x 1 nt022cr aplprg4 448775 Nov 20 15:20 /local/bin/6cov -rwxr-xr-x 1 nt022cr aplprg4 964857 Nov 20 15:20 /local/bin/6g -rwxr-xr-x 1 nt022cr aplprg4 415057 Nov 20 15:19 /local/bin/6l -rwxr-xr-x 1 nt022cr aplprg4 272621 Nov 20 15:20 /local/bin/6nm -rwxr-xr-x 1 nt022cr aplprg4 438394 Nov 20 15:20 /local/bin/6prof tcsh> cat hello.go package main import "fmt" func main() { fmt.Printf("hello, world\n") } tcsh> 6g hello.go frdapdev01[1015]tcsh> 6l hello.6 frdapdev01[1016]tcsh> ./6.out Killed tcsh> |
Comment 9 by cristian_r_rojas@yahoo.com: The compiler, linker, etc are created and they seem to work but any program fails to run For example tcsh> uname -a Linux XXXX #1 SMP Fri Jun 30 10:32:04 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux tcsh> ls -l /local/bin/6* -rwxr-xr-x 1 nt022cr aplprg4 242068 Nov 20 15:19 /local/bin/6a -rwxr-xr-x 1 nt022cr aplprg4 693138 Nov 20 15:19 /local/bin/6c -rwxr-xr-x 1 nt022cr aplprg4 448775 Nov 20 15:20 /local/bin/6cov -rwxr-xr-x 1 nt022cr aplprg4 964857 Nov 20 15:20 /local/bin/6g -rwxr-xr-x 1 nt022cr aplprg4 415057 Nov 20 15:19 /local/bin/6l -rwxr-xr-x 1 nt022cr aplprg4 272621 Nov 20 15:20 /local/bin/6nm -rwxr-xr-x 1 nt022cr aplprg4 438394 Nov 20 15:20 /local/bin/6prof tcsh> cat hello.go package main import "fmt" func main() { fmt.Printf("hello, world\n") } tcsh> 6g hello.go tcsh> 6l hello.6 tcsh> ls -l *out -rwxr-xr-x 1 nt022cr aplprg4 635184 Nov 20 15:26 6.out tcsh> ./6.out Killed tcsh> |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by stephen.thorne:
Attachments:
The text was updated successfully, but these errors were encountered: