diff --git a/Makefile b/Makefile index 24667def7c..2e967ba0f6 100644 --- a/Makefile +++ b/Makefile @@ -87,8 +87,13 @@ unit: unit-cover: $(GOACC_BIN) @$(call print, "Running unit coverage tests.") $(GOACC_BIN) ./... - cd btcec; $(GOACC_BIN) ./... + + # We need to remove the /v2 pathing from the module to have it work + # nicely with the CI tool we use to render live code coverage. + cd btcec; $(GOACC_BIN) ./...; sed -i.bak 's/v2\///g' coverage.txt + cd btcutil; $(GOACC_BIN) ./... + cd btcutil/psbt; $(GOACC_BIN) ./... unit-race: