Created
April 13, 2020 19:36
-
-
Save akantsevoi/d904143cfc6cbc43f4dc3880fa12ac49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
RESULT=$(CGO_ENABLED=0 go test ./cmd/integrationtests -count=1 2> /dev/null) | |
if [ $? -ne 0 ]; then | |
echo "Test errors: $RESULT" >&2 | |
exit 1 | |
else | |
echo "Test success: $RESULT" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment