diff --git a/go/tests/entrypoint.sh b/go/tests/entrypoint.sh index 310d7342a..a6f0b702b 100755 --- a/go/tests/entrypoint.sh +++ b/go/tests/entrypoint.sh @@ -4,6 +4,12 @@ set -e cd student +if test "$EXAM_RUN_ONLY" = true; then + go build -o exe . + ./exe "$@" + exit +fi + if ! test "$SKIP_FORMATTING"; then s=$(goimports -d .) if test "$s"; then