diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-22 19:57:26 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-22 19:57:26 -0500 |
commit | 041f114958746a29121ec9e8b0672ca8a9a701d1 (patch) | |
tree | 3b5061fa987385813ae04e3a14a0890ef34ab83f | |
parent | 6927f43711ea8e4558ff4c138291712179c21acb (diff) | |
download | cvez-041f114958746a29121ec9e8b0672ca8a9a701d1.tar.bz2 cvez-041f114958746a29121ec9e8b0672ca8a9a701d1.zip |
Makefile: add testall and testalljson, update test and testjson to use -short
-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 |