diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-05 03:03:17 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-05 03:03:17 -0500 |
commit | 3dd8e3b14cce7d46779b497ea7a08581cf7663fb (patch) | |
tree | 4dd21b9b1af25d963e525538f59c1b5ce6ef17eb | |
parent | 22fd269069b8e47bc40fbd8681243bdd4bd61a47 (diff) | |
download | cvez-3dd8e3b14cce7d46779b497ea7a08581cf7663fb.tar.bz2 cvez-3dd8e3b14cce7d46779b497ea7a08581cf7663fb.zip |
Makefile: add sqlite_json to cov targets
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ test: # run all tests, print result to stdout as json testjson: - go test -json -cover ./... + go test -tags='sqlite_fts5 sqlite_json' -json -cover ./... # run go vet vet: @@ -22,13 +22,13 @@ vetjson: # generate test coverage profile, print results to stdout cov: - go test -coverprofile=coverage.out ./... && \ + go test -tags='sqlite_fts5 sqlite_json' -coverprofile=coverage.out ./... && \ go tool cover -func=coverage.out # generate test coverage profile, render results as html, show # in browser covhtml: - go test -coverprofile=coverage.out ./... && \ + go test -tags='sqlite_fts5 sqlite_json' -coverprofile=coverage.out ./... && \ go tool cover -html=coverage.out -o coverage.html && \ xdg-open ./coverage.html |