FAQ
Change e7173dfdfd1c broke the windows-386 build:
http://build.golang.org/log/4b10d77484dea26e327ecab3355340eccdbcb589

test: migrate remaining tests to run.go

* bug248, bug345, bug369, and bug429 were ported from bash commands to run
scripts. bug369 remains disabled.
* bug395 is a test for issue 1909, which is still open. It is marked as
skip now and will be usable with compile with run.go when issue 1909 is
fixed.

Fixes #4139

Updates #1909

Change-Id: Ibb5fbfb5cf72ddc285829245318eeacd3fb5a636
Reviewed-on: https://go-review.googlesource.com/1774
Reviewed-by: Russ Cox <rsc@golang.org>

http://code.google.com/p/go/source/detail?r=e7173dfdfd1c

$ tail -200 < log
ok compress/bzip2 0.729s
ok compress/flate 1.167s
ok compress/gzip 0.565s
ok compress/lzw 0.617s
ok compress/zlib 2.337s
ok container/heap 0.092s
ok container/list 0.393s
ok container/ring 0.467s
? crypto [no test files]
ok crypto/aes 0.453s
ok crypto/cipher 0.253s
ok crypto/des 0.197s
ok crypto/dsa 0.431s
ok crypto/ecdsa 0.354s
ok crypto/elliptic 0.279s
ok crypto/hmac 0.499s
ok crypto/md5 0.406s
ok crypto/rand 0.424s
ok crypto/rc4 0.504s
ok crypto/rsa 0.938s
ok crypto/sha1 0.268s
ok crypto/sha256 0.686s
ok crypto/sha512 0.388s
ok crypto/subtle 0.265s
ok crypto/tls 5.866s
ok crypto/x509 3.984s
? crypto/x509/pkix [no test files]
ok database/sql 1.452s
ok database/sql/driver 0.379s
ok debug/dwarf 0.861s
ok debug/elf 0.895s
ok debug/gosym 0.588s
ok debug/macho 0.153s
ok debug/pe 0.354s
ok debug/plan9obj 0.456s
? encoding [no test files]
ok encoding/ascii85 0.234s
ok encoding/asn1 0.235s
ok encoding/base32 0.385s
ok encoding/base64 0.211s
ok encoding/binary 0.209s
ok encoding/csv 0.145s
ok encoding/gob 0.942s
ok encoding/hex 0.263s
ok encoding/json 0.494s
ok encoding/pem 0.311s
ok encoding/xml 0.656s
ok errors 0.179s
ok expvar 0.318s
ok flag 0.286s
ok fmt 0.710s
ok go/ast 0.308s
ok go/build 1.868s
ok go/doc 0.241s
ok go/format 0.467s
ok go/parser 0.356s
ok go/printer 1.414s
ok go/scanner 0.116s
ok go/token 0.389s
? hash [no test files]
ok hash/adler32 0.563s
ok hash/crc32 0.546s
ok hash/crc64 0.270s
ok hash/fnv 0.216s
ok html 0.358s
ok html/template 0.459s
ok image 0.685s
ok image/color 0.413s
? image/color/palette [no test files]
ok image/draw 0.424s
ok image/gif 0.680s
ok image/jpeg 1.158s
ok image/png 0.486s
ok index/suffixarray 0.277s
ok io 0.479s
ok io/ioutil 0.470s
ok log 0.624s
? log/syslog [no test files]
ok math 0.142s
ok math/big 1.247s
ok math/cmplx 0.455s
ok math/rand 0.896s
ok mime 0.597s
ok mime/multipart 1.098s
ok net 3.821s
ok net/http 5.506s
ok net/http/cgi 1.021s
ok net/http/cookiejar 0.132s
ok net/http/fcgi 0.092s
ok net/http/httptest 0.190s
ok net/http/httputil 0.175s
ok net/http/internal 0.119s
? net/http/pprof [no test files]
ok net/mail 0.099s
ok net/rpc 0.203s
ok net/rpc/jsonrpc 0.130s
ok net/smtp 0.180s
ok net/textproto 0.304s
ok net/url 0.138s
ok os 1.219s
ok os/exec 5.993s
ok os/signal 1.857s
ok os/user 0.122s
ok path 0.106s
ok path/filepath 0.827s
ok reflect 0.274s
ok regexp 0.391s
ok regexp/syntax 1.027s
ok runtime 23.104s
? runtime/cgo [no test files]
ok runtime/debug 0.074s
ok runtime/pprof 7.334s
? runtime/race [no test files]
ok sort 0.154s
ok strconv 0.670s
ok strings 0.222s
ok sync 0.186s
ok sync/atomic 0.302s
ok syscall 0.088s
ok testing 2.469s
? testing/iotest [no test files]
ok testing/quick 0.176s
ok text/scanner 0.079s
ok text/tabwriter 0.073s
ok text/template 0.302s
ok text/template/parse 0.154s
ok time 2.941s
ok unicode 0.076s
ok unicode/utf16 0.085s
ok unicode/utf8 0.075s
? unsafe [no test files]

##### GOMAXPROCS=2 runtime -cpu=1,2,4
ok runtime 62.342s

##### sync -cpu=10
ok sync 0.409s

##### ..\test\bench\go1
ok _/c_/gobuilder/windows-386-e7173dfdfd1c/go/test/bench/go1 2.995s

##### ..\misc\cgo\life

##### ..\misc\cgo\stdio

##### ..\misc\cgo\test
ok _/c_/gobuilder/windows-386-e7173dfdfd1c/go/misc/cgo/test 1.211s

##### ..\misc\cgo\testso

##### ..\doc\progs

##### ..\test
# go run run.go -- fixedbugs/bug248.go
exit status 1
bug2.go:8: import path contains invalid
character ':': "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug248.dir/bug0"
bug2.go:9: import path contains invalid
character ':': "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug248.dir/bug1"
bug2.go:15: undefined: p0
bug2.go:16: undefined: p1
bug2.go:19: undefined: p0
bug2.go:23: undefined: p1
bug2.go:28: undefined: p0
bug2.go:32: undefined: p1
bug2.go:37: undefined: p0
bug2.go:38: undefined: p1
bug2.go:16: too many errors

exit status 1
exit status 1

FAIL fixedbugs\bug248.go 1.554s
# go run run.go -- fixedbugs/bug345.go
exit status 1

exec: "c:\\gobuilder\\windows-386-e7173dfdfd1c\\go\\test\\errchk": file
does not exist
exit status 1

FAIL fixedbugs\bug345.go 2.191s
# go run run.go -- fixedbugs/bug369.go
exit status 1
main.go:8: imported and not used: "flag"
main.go:9: imported and not used: "os"
main.go:10: imported and not used: "runtime"
main.go:11: imported and not used: "testing"
main.go:13: import path contains invalid
character ':': "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug369.dir/fast"
main.go:14: import path contains invalid
character ':': "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug369.dir/slow"
main.go:19: undefined: <nil>.testing
main.go:21: undefined: <nil>.fast
main.go:25: undefined: <nil>.testing
main.go:27: undefined: <nil>.slow
main.go:27: too many errors

exit status 1
exit status 1

FAIL fixedbugs\bug369.go 1.517s
exit status 1

Build complete, duration 4m24.8779297s. Result: error: exit status 1

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Josh Bleecher Snyder at Dec 22, 2014 at 11:28 pm
    Working on it.

    -j

    On Mon, Dec 22, 2014 at 3:10 PM, wrote:
    Change e7173dfdfd1c broke the windows-386 build:
    http://build.golang.org/log/4b10d77484dea26e327ecab3355340eccdbcb589

    test: migrate remaining tests to run.go

    * bug248, bug345, bug369, and bug429 were ported from bash commands to run
    scripts. bug369 remains disabled.
    * bug395 is a test for issue 1909, which is still open. It is marked as skip
    now and will be usable with compile with run.go when issue 1909 is fixed.

    Fixes #4139

    Updates #1909

    Change-Id: Ibb5fbfb5cf72ddc285829245318eeacd3fb5a636
    Reviewed-on: https://go-review.googlesource.com/1774
    Reviewed-by: Russ Cox <rsc@golang.org>

    http://code.google.com/p/go/source/detail?r=e7173dfdfd1c

    $ tail -200 < log
    ok compress/bzip2 0.729s
    ok compress/flate 1.167s
    ok compress/gzip 0.565s
    ok compress/lzw 0.617s
    ok compress/zlib 2.337s
    ok container/heap 0.092s
    ok container/list 0.393s
    ok container/ring 0.467s
    ? crypto [no test files]
    ok crypto/aes 0.453s
    ok crypto/cipher 0.253s
    ok crypto/des 0.197s
    ok crypto/dsa 0.431s
    ok crypto/ecdsa 0.354s
    ok crypto/elliptic 0.279s
    ok crypto/hmac 0.499s
    ok crypto/md5 0.406s
    ok crypto/rand 0.424s
    ok crypto/rc4 0.504s
    ok crypto/rsa 0.938s
    ok crypto/sha1 0.268s
    ok crypto/sha256 0.686s
    ok crypto/sha512 0.388s
    ok crypto/subtle 0.265s
    ok crypto/tls 5.866s
    ok crypto/x509 3.984s
    ? crypto/x509/pkix [no test files]
    ok database/sql 1.452s
    ok database/sql/driver 0.379s
    ok debug/dwarf 0.861s
    ok debug/elf 0.895s
    ok debug/gosym 0.588s
    ok debug/macho 0.153s
    ok debug/pe 0.354s
    ok debug/plan9obj 0.456s
    ? encoding [no test files]
    ok encoding/ascii85 0.234s
    ok encoding/asn1 0.235s
    ok encoding/base32 0.385s
    ok encoding/base64 0.211s
    ok encoding/binary 0.209s
    ok encoding/csv 0.145s
    ok encoding/gob 0.942s
    ok encoding/hex 0.263s
    ok encoding/json 0.494s
    ok encoding/pem 0.311s
    ok encoding/xml 0.656s
    ok errors 0.179s
    ok expvar 0.318s
    ok flag 0.286s
    ok fmt 0.710s
    ok go/ast 0.308s
    ok go/build 1.868s
    ok go/doc 0.241s
    ok go/format 0.467s
    ok go/parser 0.356s
    ok go/printer 1.414s
    ok go/scanner 0.116s
    ok go/token 0.389s
    ? hash [no test files]
    ok hash/adler32 0.563s
    ok hash/crc32 0.546s
    ok hash/crc64 0.270s
    ok hash/fnv 0.216s
    ok html 0.358s
    ok html/template 0.459s
    ok image 0.685s
    ok image/color 0.413s
    ? image/color/palette [no test files]
    ok image/draw 0.424s
    ok image/gif 0.680s
    ok image/jpeg 1.158s
    ok image/png 0.486s
    ok index/suffixarray 0.277s
    ok io 0.479s
    ok io/ioutil 0.470s
    ok log 0.624s
    ? log/syslog [no test files]
    ok math 0.142s
    ok math/big 1.247s
    ok math/cmplx 0.455s
    ok math/rand 0.896s
    ok mime 0.597s
    ok mime/multipart 1.098s
    ok net 3.821s
    ok net/http 5.506s
    ok net/http/cgi 1.021s
    ok net/http/cookiejar 0.132s
    ok net/http/fcgi 0.092s
    ok net/http/httptest 0.190s
    ok net/http/httputil 0.175s
    ok net/http/internal 0.119s
    ? net/http/pprof [no test files]
    ok net/mail 0.099s
    ok net/rpc 0.203s
    ok net/rpc/jsonrpc 0.130s
    ok net/smtp 0.180s
    ok net/textproto 0.304s
    ok net/url 0.138s
    ok os 1.219s
    ok os/exec 5.993s
    ok os/signal 1.857s
    ok os/user 0.122s
    ok path 0.106s
    ok path/filepath 0.827s
    ok reflect 0.274s
    ok regexp 0.391s
    ok regexp/syntax 1.027s
    ok runtime 23.104s
    ? runtime/cgo [no test files]
    ok runtime/debug 0.074s
    ok runtime/pprof 7.334s
    ? runtime/race [no test files]
    ok sort 0.154s
    ok strconv 0.670s
    ok strings 0.222s
    ok sync 0.186s
    ok sync/atomic 0.302s
    ok syscall 0.088s
    ok testing 2.469s
    ? testing/iotest [no test files]
    ok testing/quick 0.176s
    ok text/scanner 0.079s
    ok text/tabwriter 0.073s
    ok text/template 0.302s
    ok text/template/parse 0.154s
    ok time 2.941s
    ok unicode 0.076s
    ok unicode/utf16 0.085s
    ok unicode/utf8 0.075s
    ? unsafe [no test files]

    ##### GOMAXPROCS=2 runtime -cpu=1,2,4
    ok runtime 62.342s

    ##### sync -cpu=10
    ok sync 0.409s

    ##### ..\test\bench\go1
    ok _/c_/gobuilder/windows-386-e7173dfdfd1c/go/test/bench/go1
    2.995s

    ##### ..\misc\cgo\life

    ##### ..\misc\cgo\stdio

    ##### ..\misc\cgo\test
    ok _/c_/gobuilder/windows-386-e7173dfdfd1c/go/misc/cgo/test
    1.211s

    ##### ..\misc\cgo\testso

    ##### ..\doc\progs

    ##### ..\test
    # go run run.go -- fixedbugs/bug248.go
    exit status 1
    bug2.go:8: import path contains invalid character ':':
    "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug248.dir/bug0"
    bug2.go:9: import path contains invalid character ':':
    "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug248.dir/bug1"
    bug2.go:15: undefined: p0
    bug2.go:16: undefined: p1
    bug2.go:19: undefined: p0
    bug2.go:23: undefined: p1
    bug2.go:28: undefined: p0
    bug2.go:32: undefined: p1
    bug2.go:37: undefined: p0
    bug2.go:38: undefined: p1
    bug2.go:16: too many errors

    exit status 1
    exit status 1

    FAIL fixedbugs\bug248.go 1.554s
    # go run run.go -- fixedbugs/bug345.go
    exit status 1

    exec: "c:\\gobuilder\\windows-386-e7173dfdfd1c\\go\\test\\errchk": file does
    not exist
    exit status 1

    FAIL fixedbugs\bug345.go 2.191s
    # go run run.go -- fixedbugs/bug369.go
    exit status 1
    main.go:8: imported and not used: "flag"
    main.go:9: imported and not used: "os"
    main.go:10: imported and not used: "runtime"
    main.go:11: imported and not used: "testing"
    main.go:13: import path contains invalid character ':':
    "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug369.dir/fast"
    main.go:14: import path contains invalid character ':':
    "c:/gobuilder/windows-386-e7173dfdfd1c/go/test/fixedbugs/bug369.dir/slow"
    main.go:19: undefined: <nil>.testing
    main.go:21: undefined: <nil>.fast
    main.go:25: undefined: <nil>.testing
    main.go:27: undefined: <nil>.slow
    main.go:27: too many errors

    exit status 1
    exit status 1

    FAIL fixedbugs\bug369.go 1.517s
    exit status 1

    Build complete, duration 4m24.8779297s. Result: error: exit status 1

    --
    You received this message because you are subscribed to the Google Groups
    "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 22, '14 at 11:10p
activeDec 22, '14 at 11:28p
posts2
users2
websitegolang.org

2 users in discussion

Builder: 1 post Josh Bleecher Snyder: 1 post

People

Translate

site design / logo © 2022 Grokbase