]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go, misc: rework cwd handling for iOS tests
authorDavid Crawshaw <crawshaw@golang.org>
Fri, 13 Jan 2017 12:18:40 +0000 (07:18 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Fri, 13 Jan 2017 20:08:06 +0000 (20:08 +0000)
commit593ea3b3606a16da39e38406e22e373eeb944287
tree39beab9f5fc19c77e42ee717c0e08a92485217ee
parent0642b8a2f1837901f31066b679173e89325b6be3
cmd/go, misc: rework cwd handling for iOS tests

Another change in behvaior (bug) in LLDB. Despite the fact that
LLDB can dump the symtab of our test binaries and show the function
addresses, it can no longer call the functions. This means the chdir
trick on signal is failing.

This CL uses a new trick. For iOS, the exec script passes the change
in directory as an argument, and it is processed early by the test
harness generated by cmd/go.

For the iOS builders.

Change-Id: I8f5d0f831fe18de99f097761f89c5184d5bf2afb
Reviewed-on: https://go-review.googlesource.com/35152
Reviewed-by: Elias Naur <elias.naur@gmail.com>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/ios/go_darwin_arm_exec.go
src/cmd/go/test.go