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