File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ test\#%:
385
385
386
386
.PHONY : coverage
387
387
coverage :
388
- GO111MODULE=on $(GO ) run -mod=vendor build/gocovmerge.go integration.coverage.out $(shell find . -type f -name "coverage.out") > coverage.all
388
+ GO111MODULE=on $(GO ) run -mod=vendor build/gocovmerge.go integration.coverage.out $(shell find . -type f -name "coverage.out") > coverage.all || cat coverage.out
389
389
390
390
.PHONY : unit-test-coverage
391
391
unit-test-coverage :
Original file line number Diff line number Diff line change @@ -125,9 +125,9 @@ func main() {
125
125
i ++
126
126
lines = append (lines , scanner .Text ())
127
127
}
128
- fmt .Println ("=== " + file + " ==============================" )
129
- fmt .Printf ("%s\n " , strings .Join (lines , "\n " ))
130
- fmt .Println ("===============================================" )
128
+ log .Println ("=== " + file + " ==============================" )
129
+ log .Printf ("%s\n " , strings .Join (lines , "\n " ))
130
+ log .Println ("===============================================" )
131
131
// end
132
132
133
133
log .Fatalf ("failed to parse profile '%s': %v" , file , err )
You can’t perform that action at this time.
0 commit comments