summaryrefslogtreecommitdiff
path: root/support/go-test
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-08-19 05:02:05 +0000
committerAsh McKenzie <amckenzie@gitlab.com>2019-08-19 05:02:05 +0000
commit4d330cb1dd0fa2d6470d459fc33a987e8f550887 (patch)
treea11de1a5bb9a3c27bcd6c9b31c0663bd91c5c8c8 /support/go-test
parent81f5854513a527c3a00398e91930a12ebad70272 (diff)
downloadgitlab-shell-4d330cb1dd0fa2d6470d459fc33a987e8f550887.tar.gz
Use go mod
Diffstat (limited to 'support/go-test')
-rwxr-xr-xsupport/go-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/go-test b/support/go-test
index e4f87b7..0c043f6 100755
--- a/support/go-test
+++ b/support/go-test
@@ -4,8 +4,8 @@ require_relative 'go_build'
include GoBuild
def main
- create_fresh_build_dir
- run!(GO_ENV, %W[go test #{GO_PACKAGE}/...])
+ ensure_build_dir_exists
+ run!(GO_ENV, %w[go test ./...], chdir: GO_DIR)
puts 'OK'
end