]> Cypherpunks repositories - gostls13.git/commit
misc/ios: serialize iOS execution
authorElias Naur <elias.naur@gmail.com>
Thu, 24 Mar 2016 15:03:07 +0000 (16:03 +0100)
committerElias Naur <elias.naur@gmail.com>
Thu, 24 Mar 2016 17:02:42 +0000 (17:02 +0000)
commitf045ca8d45c1f06312a022e40677eec3fc2e0ed3
tree76f827227f2da3a28d0694678ec3f84607fa3e98
parentfc4358951a451c18267c4eb9ef0fb941963cc995
misc/ios: serialize iOS execution

The iOS exec wrapper use complicated machinery to run a iOS binary
on a device.
Running several binaries concurrently doesn't work (reliably), which
can break tests running concurrently. For my setup, the
runtime:cpu124 and sync_cpu tests can't run reliably without one of them
crashing.

Add a file lock to the exec wrapper to serialize execution.

Fixes #14318 (for me)

Change-Id: I023610e014b327f8d66f1d2fd2e54dd0e56f2be0
Reviewed-on: https://go-review.googlesource.com/21074
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/ios/go_darwin_arm_exec.go