Skip to content

Commit 6332732

Browse files
authored
Merge pull request #1763 from balopat/improved_testsh_output
added some extra logging for test failures for easier feedback
2 parents 21308f8 + 74116c1 commit 6332732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GREEN='\033[0;32m'
2121
RESET='\033[0m'
2222

2323
echo "Running go tests..."
24-
go test -cover -short -v -timeout 60s ./... | sed ''/PASS/s//$(printf "${GREEN}PASS${RESET}")/'' | sed ''/FAIL/s//$(printf "${RED}FAIL${RESET}")/''
24+
go test -cover -short -timeout 60s ./... | sed ''/PASS/s//$(printf "${GREEN}PASS${RESET}")/'' | sed ''/FAIL/s//$(printf "${RED}FAIL${RESET}")/''
2525
GO_TEST_EXIT_CODE=${PIPESTATUS[0]}
2626
if [[ $GO_TEST_EXIT_CODE -ne 0 ]]; then
2727
exit $GO_TEST_EXIT_CODE

0 commit comments

Comments
 (0)