diff --git a/go/tests/entrypoint.sh b/go/tests/entrypoint.sh index 8df82815..ce701a71 100755 --- a/go/tests/entrypoint.sh +++ b/go/tests/entrypoint.sh @@ -10,7 +10,8 @@ if test "$EXAM_MODE"; then fi if test "$EXAM_RUN_ONLY" = true; then - go build -o exe "./$EXERCISE" + go build -o ../exe "./$EXERCISE" + cd .. ./exe "$@" exit fi