1
0
mirror of https://github.com/golang/go synced 2024-11-06 08:26:12 -07:00
go/src/compress
David Crawshaw 467109bf56 all: test adjustments for the iOS builder
The working directory is now adjusted to match the typical Go test
working directory in main, as the old trick for adjusting earlier
stopped working with the latest version of LLDB bugs.

That means the small number of places where testdata files are
read before main is called no longer work. This CL adjusts those
reads to happen after main is called. (This has the bonus effect of
not reading some benchmark testdata files in all.bash.)

Fixes compress/bzip2, go/doc, go/parser, os, and time package
tests on the iOS builder.

Change-Id: If60f026aa7848b37511c36ac5e3985469ec25209
Reviewed-on: https://go-review.googlesource.com/35255
Run-TryBot: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-01-14 03:27:53 +00:00
..
bzip2 all: test adjustments for the iOS builder 2017-01-14 03:27:53 +00:00
flate compress/flate: avoid large stack growth in fillDeflate 2017-01-12 19:15:57 +00:00
gzip compress/gzip: skip TestGZIPFilesHaveZeroMTimes on non-builders 2017-01-11 17:48:09 +00:00
lzw compress/lzw: use Run for benchmarks 2016-05-25 17:11:12 +00:00
testdata build: shorten a few packages with long tests 2015-12-29 15:46:44 +00:00
zlib compress/gzip, compress/zlib: add HuffmanOnly as compression levels. 2016-10-20 23:11:05 +00:00