diff options
author | Mura Li <2606021+typeless@users.noreply.github.com> | 2021-08-26 16:50:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 16:50:04 +0800 |
commit | b60e81405582a358eae6adacd6f6cb703975206f (patch) | |
tree | 89e3eeaab0496ae82de20c368363daed08940a39 /build/gocovmerge.go | |
parent | c446901a5db66810d49347c30d3b9aa047992fad (diff) | |
download | gitea-b60e81405582a358eae6adacd6f6cb703975206f.tar.gz gitea-b60e81405582a358eae6adacd6f6cb703975206f.zip |
Enable race detector for CI (#1441)
* Enable race detector by default
Set RACE_ENABLED=0 to disable it when release
* Disable race detector for release builds
* use `true`
* fix
* debug issue
* fix
* verbose
* clean
* Fix wrong merge
* Fix coverage merge
Co-authored-by: Mura Li <typeless@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'build/gocovmerge.go')
-rw-r--r-- | build/gocovmerge.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gocovmerge.go b/build/gocovmerge.go index b38cf5ea3d..6a1af5b58f 100644 --- a/build/gocovmerge.go +++ b/build/gocovmerge.go @@ -109,7 +109,7 @@ func main() { for _, file := range flag.Args() { profiles, err := cover.ParseProfiles(file) if err != nil { - log.Fatalf("failed to parse profiles: %v", err) + log.Fatalf("failed to parse profile '%s': %v", file, err) } for _, p := range profiles { merged = addProfile(merged, p) |