]> Cypherpunks repositories - gostls13.git/commit
misc/ios: allow exit code 0 to mean test success
authorElias Naur <elias.naur@gmail.com>
Wed, 1 Feb 2017 17:41:27 +0000 (18:41 +0100)
committerElias Naur <elias.naur@gmail.com>
Thu, 2 Feb 2017 08:15:32 +0000 (08:15 +0000)
commit312ea5bf8ff76d8ea4ea0b92df29de5204446b46
tree5bbe98ddc3e963ea91069c261461a13f4d0555c5
parentcb6e0639fb090ea0e129b1ddb956a7e645cff285
misc/ios: allow exit code 0 to mean test success

Tests that use TestMain might never call m.Run(), and simply return
from TestMain. In that case, the iOS test harness never sees the
PASS from the testing framework and assumes the test failed.

Allow an exit with exit code 0 to also mean test success, thereby
fixing the objdump test on iOS.

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