From 96e0990eac3749351c126f9f27cd87abc4001aa6 Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Thu, 17 Dec 2020 14:20:44 +0100 Subject: [PATCH] Use the same Docker image to run programs during exams --- go/tests/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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