]> Cypherpunks repositories - gostls13.git/commit
convert low-level (used by testing) packages to
authorRuss Cox <rsc@golang.org>
Wed, 12 Aug 2009 20:18:37 +0000 (13:18 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 12 Aug 2009 20:18:37 +0000 (13:18 -0700)
commit3b864e41957d11314baf236eeda1e27c6a91bcf8
treefb8ce575f8d1f4edc0212dfd8848524f459c64d5
parentdd5f32330c51ab1d9db238ec486795c7f2d9a1b6
convert low-level (used by testing) packages to
whole-package compilation.  new Makefiles,
tests now in separate package

bytes
flag
fmt
io
math
once
os
reflect
strconv
sync
time
utf8

delete import "xxx" in package xxx.

inside package xxx, xxx is not declared
anymore so s/xxx.//g

delete file and package level forward declarations.

note the new internal_test.go and sync
and strconv to provide public access to
internals during testing.  the installed version
of the package omits that file and thus does
not open the internals to all clients.

R=r
OCL=33065
CL=33097
81 files changed:
src/pkg/bytes/Makefile
src/pkg/bytes/buffer.go
src/pkg/bytes/buffer_test.go
src/pkg/bytes/bytes_test.go
src/pkg/flag/Makefile
src/pkg/flag/flag.go
src/pkg/flag/flag_test.go
src/pkg/fmt/Makefile
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go
src/pkg/io/Makefile
src/pkg/io/pipe.go
src/pkg/io/pipe_test.go
src/pkg/io/utils.go
src/pkg/io/utils_test.go
src/pkg/math/Makefile
src/pkg/math/all_test.go
src/pkg/math/asin.go
src/pkg/math/atan.go
src/pkg/math/atan2.go
src/pkg/math/exp.go
src/pkg/math/floor.go
src/pkg/math/fmod.go
src/pkg/math/log.go
src/pkg/math/pow.go
src/pkg/math/sin.go
src/pkg/math/sinh.go
src/pkg/math/sqrt.go
src/pkg/math/tan.go
src/pkg/math/tanh.go
src/pkg/once/Makefile
src/pkg/once/once_test.go
src/pkg/os/Makefile
src/pkg/os/dir_darwin_386.go
src/pkg/os/dir_darwin_amd64.go
src/pkg/os/dir_linux_386.go
src/pkg/os/dir_linux_amd64.go
src/pkg/os/env.go
src/pkg/os/exec.go
src/pkg/os/file.go
src/pkg/os/getwd.go
src/pkg/os/os_test.go
src/pkg/os/path.go
src/pkg/os/path_test.go
src/pkg/os/proc.go
src/pkg/os/stat_darwin_386.go
src/pkg/os/stat_darwin_amd64.go
src/pkg/os/stat_linux_386.go
src/pkg/os/stat_linux_amd64.go
src/pkg/os/sys_darwin.go
src/pkg/os/sys_linux.go
src/pkg/os/time.go
src/pkg/reflect/Makefile
src/pkg/reflect/all_test.go
src/pkg/reflect/deepequal.go
src/pkg/reflect/tostring_test.go [moved from src/pkg/reflect/tostring.go with 94% similarity]
src/pkg/reflect/type.go
src/pkg/reflect/value.go
src/pkg/strconv/Makefile
src/pkg/strconv/atof.go
src/pkg/strconv/atof_test.go
src/pkg/strconv/atoi.go
src/pkg/strconv/atoi_test.go
src/pkg/strconv/decimal.go
src/pkg/strconv/decimal_test.go
src/pkg/strconv/fp_test.go
src/pkg/strconv/ftoa.go
src/pkg/strconv/ftoa_test.go
src/pkg/strconv/internal_test.go [new file with mode: 0644]
src/pkg/strconv/itoa_test.go
src/pkg/strconv/quote_test.go
src/pkg/sync/Makefile
src/pkg/sync/internal_test.go [new file with mode: 0644]
src/pkg/sync/mutex_test.go
src/pkg/time/Makefile
src/pkg/time/tick.go
src/pkg/time/tick_test.go
src/pkg/time/time.go
src/pkg/time/time_test.go
src/pkg/utf8/Makefile
src/pkg/utf8/utf8_test.go