From: Elias Naur Date: Fri, 3 May 2019 11:21:49 +0000 (+0200) Subject: misc/ios: don't refer to iostest.bash X-Git-Tag: go1.13beta1~429 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bd384d42c11d5b3ec36dbc325ec8d350ea1f1b82;p=gostls13.git misc/ios: don't refer to iostest.bash iostest.bash might not live much longer, and all.bash is much less confusing and more explicit. Change-Id: If42e8716bbbb02aa3f817dceaabb1aa8076aae1a Reviewed-on: https://go-review.googlesource.com/c/go/+/175178 Reviewed-by: Tobias Klauser Reviewed-by: Brad Fitzpatrick --- diff --git a/misc/ios/README b/misc/ios/README index 83fa2d6fc7..b9952dc11d 100644 --- a/misc/ios/README +++ b/misc/ios/README @@ -31,9 +31,10 @@ which will output something similar to If you have multiple devices connected, specify the device UDID with the GOIOS_DEVICE_ID variable. Use `idevice_id -l` to list all available UDIDs. -Finally, to run the standard library tests, run iostest.bash with GOARCH set. For example, +Finally, to run the standard library tests, run all.bash as usual, but with the compiler +set to the clang wrapper that invokes clang for iOS. For example, - GOARCH=arm64 ./iostest.bash + GOARCH=arm64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash To use the go tool directly to run programs and tests, put $GOROOT/bin into PATH to ensure the go_darwin_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests