From ec27d9fb48acbd82496a52b977ac1011e81628b2 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sun, 19 Feb 2023 22:41:55 +0100 Subject: [PATCH] ci: don't pass -v to `go test` It can be difficult to find what went wrong in a test. Omitting -v should make it easier to see the failing tests and the output for them (note that output is still printed for tests that fail). --- .github/workflows/build-macos.yml | 2 +- .github/workflows/windows.yml | 2 +- Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index fb7e3d67..46b77a89 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -89,7 +89,7 @@ jobs: run: make wasi-libc - name: Test TinyGo shell: bash - run: make test GOTESTFLAGS="-v -short" + run: make test GOTESTFLAGS="-short" - name: Build TinyGo release tarball run: make release -j3 - name: Test stdlib packages diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4286892c..95825358 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -99,7 +99,7 @@ jobs: scoop install wasmtime - name: Test TinyGo shell: bash - run: make test GOTESTFLAGS="-v -short" + run: make test GOTESTFLAGS="-short" - name: Build TinyGo release tarball shell: bash run: make build/release -j4 diff --git a/Makefile b/Makefile index 53cc98d2..a019a357 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ GO ?= go export GOROOT = $(shell $(GO) env GOROOT) # Flags to pass to go test. -GOTESTFLAGS ?= -v +GOTESTFLAGS ?= # md5sum binary MD5SUM = md5sum