Skip to content

./all.bash fails at container/vector test #801

@gopherbot

Description

@gopherbot

by eric.bergstrome:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. $ ./all.bash

What is the expected output? What do you see instead?
Expecting successful build.  Seeing make fail with output that ends like this:
cd container/vector && /Users/eric/Unix/bin/gomake test
/Users/eric/Unix/bin/gotest
rm -f _test/container/vector.a _gotest_.6
/Users/eric/Unix/bin/6g -o _gotest_.6 defs.go intvector.go stringvector.go vector.go  
intvector_test.go
intvector_test.go:33: undefined: checkSize
intvector_test.go:47: undefined: int2IntValue
intvector_test.go:54: undefined: intzero
intvector_test.go:104: undefined: val
intvector_test.go:107: undefined: elem2IntValue
intvector_test.go:283: undefined: intf2IntValue
intvector_test.go:285: undefined: tname
make[2]: *** [_gotest_.6] Error 1
make[1]: *** [test] Error 2
make: *** [container/vector.test] Error 2

What is your $GOOS?  $GOARCH?
darwin amd64

Which revision are you using?  (hg identify)
baf75e1c56

Please provide any additional information below.
Not sure why others do not have the same problem but here is a fix that works for me
(patch for 
gotest):
97c97
< "$GOBIN"/gomake testpackage "GOTESTFILES=$gofiles"

---
> env GOTESTFILES="$gofiles" "$GOBIN"/gomake testpackage

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