diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -4,12 +4,20 @@ all: go build -tags='sqlite_fts5 sqlite_json' -ldflags='-s -w' -# run all tests +# run all tests except long ones test: + go test -short -tags='sqlite_fts5 sqlite_json' -cover ./... + +# run all tests except long ones, print result to stdout as json +testjson: + go test -short -tags='sqlite_fts5 sqlite_json' -json -cover ./... + +# run all tests, including long ones +testall: go test -tags='sqlite_fts5 sqlite_json' -cover ./... # run all tests, print result to stdout as json -testjson: +testalljson: go test -tags='sqlite_fts5 sqlite_json' -json -cover ./... # run go vet |