purego.sh
raw| 1 | # Copyright 2014 The zappy Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style |
| 3 | # license that can be found in the LICENSE file. |
| 4 | |
| 5 | set -e |
| 6 | set -v |
| 7 | |
| 8 | CGO_ENABLED=0 go test -purego true |
| 9 | CGO_ENABLED=0 go test -purego true -tags purego |
| 10 | CGO_ENABLED=1 go test -purego false |
| 11 | CGO_ENABLED=1 go test -purego true -tags purego |