From 583bbd18feb9f1e1aa5b54c8a955642113b7bc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=81=A3?= <⁣> Date: Fri, 29 May 2020 19:26:16 +0200 Subject: [PATCH] go run => go build & exec --- go/tests/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go/tests/entrypoint.sh b/go/tests/entrypoint.sh index eac4f3ee6..784dee1e4 100755 --- a/go/tests/entrypoint.sh +++ b/go/tests/entrypoint.sh @@ -43,5 +43,6 @@ if command -v "${EXERCISE}_test" >/dev/null 2>&1; then "${EXERCISE}_test" else # The exercise is a function - go run "func/${EXERCISE}_test" + go build "func/${EXERCISE}_test" + "./${EXERCISE}_test" fi