% gotest
rm -f _test/fmt.a
6g -p fmt -o _gotest_.6 doc.go format.go print.go scan.go
rm -f _test/fmt.a
gopack grc _test/fmt.a _gotest_.6
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x18d46]
goroutine 3 [running]:
/Users/r/go/src/pkg/fmt/_xtest_.TestSprintf(0x421af2a0, 0x195588e0)
/Users/r/go/src/pkg/fmt/fmt_test.go:450 +0x25
testing.tRunner(0x421af2a0, 0x189d68, 0x0, 0x0)
/Users/r/go/src/pkg/testing/testing.go:198 +0x41
created by testing.RunTests
/Users/r/go/src/pkg/testing/testing.go:275 +0x772
goroutine 1 [chan receive]:
testing.RunTests(0x2000, 0x189d50, 0x2300000023, 0x421bc001, 0x200000002, ...)
/Users/r/go/src/pkg/testing/testing.go:276 +0x795
testing.Main(0x2000, 0x189d50, 0x2300000023, 0x183928, 0x800000008, ...)
/Users/r/go/src/pkg/testing/testing.go:211 +0x62
main.main()
/Users/r/go/src/pkg/fmt/_testmain.go:72 +0x91
gotest: "./6.out" failed: exit status 2
%
%
% go test
FAIL fmt
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x22d6c]
goroutine 3 [running]:
fmt_test.TestSprintf(0x421a82a0, 0x29cb8df0)
/Users/r/go/src/pkg/fmt/fmt_test.go:450 +0x25
testing.tRunner(0x421a82a0, 0x182d68, 0x0, 0x0)
/Users/r/go/src/pkg/testing/testing.go:198 +0x41
created by testing.RunTests
/Users/r/go/src/pkg/testing/testing.go:275 +0x772
goroutine 1 [chan receive]:
testing.RunTests(0x2000, 0x182d50, 0x2300000023, 0x421b5001, 0x200000002, ...)
/Users/r/go/src/pkg/testing/testing.go:276 +0x795
testing.Main(0x2000, 0x182d50, 0x2300000023, 0x17c928, 0x800000008, ...)
/Users/r/go/src/pkg/testing/testing.go:211 +0x62
main.main()
/var/folders/x_/rw5vv6kw8xj41q0059bfc4v00000gt/T/go-build763602956/fmt/_test/_testmain.go:127 +0x91
bismarck=% go
%