• David Crawshaw's avatar
    cmd/go, misc: rework cwd handling for iOS tests · 593ea3b3
    David Crawshaw authored
    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/35152Reviewed-by: 's avatarElias Naur <elias.naur@gmail.com>
    Run-TryBot: David Crawshaw <crawshaw@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    593ea3b3
go_darwin_arm_exec.go 15.6 KB