diff options
Diffstat (limited to 'Makefile')
-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 |