]> Cypherpunks repositories - gostls13.git/commitdiff
misc/ios: add missing CGO_ENABLED=1 for running standalone tests
authorElias Naur <mail@eliasnaur.com>
Fri, 14 Jun 2019 08:23:06 +0000 (10:23 +0200)
committerElias Naur <mail@eliasnaur.com>
Sat, 15 Jun 2019 06:19:57 +0000 (06:19 +0000)
Change-Id: Icfd5b9d1ca757081af7885189ae7094fa1b3d8f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/182377
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/ios/README

index b9952dc11d25345d097cb9ecd1fc2c078a0bedb5..d7df191414b5cddaa35cb36f0089a7eb6d7e9117 100644 (file)
@@ -40,7 +40,7 @@ To use the go tool directly to run programs and tests, put $GOROOT/bin into PATH
 the go_darwin_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests
 
        export PATH=$GOROOT/bin:$PATH
-       GOARCH=arm64 go test archive/tar
+       GOARCH=arm64 CGO_ENABLED=1 go test archive/tar
 
 Note that the go_darwin_$GOARCH_exec wrapper uninstalls any existing app identified by
 the bundle id before installing a new app. If the uninstalled app is the last app by