Skip to content

Commit 0234a9e

Browse files
Alvar Vianafiliptubic
andauthored
Remove tee comand from output as it was overrinding the final result (#278)
Co-authored-by: Filip Tubić <[email protected]>
1 parent dbe9488 commit 0234a9e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ website/vendor
3636

3737
# Test reports
3838
junit-report.xml
39-
testacc-output.txt
4039

4140
# Keep windows files with windows line endings
4241
*.winfile eol=crlf

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ test: fmtcheck
3434
go test $(TEST) -timeout=30s -parallel=4
3535

3636
testacc: fmtcheck
37-
CGO_ENABLED=1 TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -race 2>&1 | tee testacc-output.txt
37+
CGO_ENABLED=1 TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -race
3838

39-
junit-report: testacc
39+
junit-report: fmtcheck
4040
@go install github.com/jstemmer/go-junit-report/v2@latest
41-
@go-junit-report -in testacc-output.txt -out junit-report.xml
41+
CGO_ENABLED=1 TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -race 2>&1 | go-junit-report -iocopy -out junit-report.xml
4242

4343
vet:
4444
@echo "go vet ."

0 commit comments

Comments
 (0)