]> Cypherpunks.ru repositories - gostls13.git/commit
all: test adjustments for the iOS builder
authorDavid Crawshaw <crawshaw@golang.org>
Sat, 14 Jan 2017 03:08:27 +0000 (22:08 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Sat, 14 Jan 2017 03:27:53 +0000 (03:27 +0000)
commit467109bf56fb560d1fd8a27c6184dbfe4f64ffef
treeb6c87a6d1ec04a7a0e1dd6f2e8b0409f0e658821
parentb2a3b54b9520ce869d79ac8bce836a540ba45d09
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>
misc/ios/go_darwin_arm_exec.go
src/compress/bzip2/bzip2_test.go
src/go/doc/doc_test.go
src/go/parser/performance_test.go
src/os/os_test.go