mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-19 17:20:25 +00:00
15 lines
622 B
Makefile
15 lines
622 B
Makefile
skipbin := $$(find bin -mindepth 1 -maxdepth 1)
|
|
skipexpect := $$(find expect -mindepth 1 -maxdepth 1)
|
|
|
|
test: test-pull-bin test-pull-expect
|
|
@MIZU_TEST=1 go test -v ./... -coverpkg=./... -race -coverprofile=coverage.out -covermode=atomic
|
|
|
|
test-update: test-pull-bin
|
|
@MIZU_TEST=1 TEST_UPDATE=1 go test -v ./... -coverpkg=./... -coverprofile=coverage.out -covermode=atomic
|
|
|
|
test-pull-bin:
|
|
@[ "${skipbin}" ] && echo "Skipping downloading BINs" || ../get-folder-of-tests.sh bin/kafka bin
|
|
|
|
test-pull-expect:
|
|
@[ "${skipexpect}" ] && echo "Skipping downloading expected JSONs" || ../get-folder-of-tests.sh expect/kafka expect
|