mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-14 13:49:42 +00:00
Add a Makefile
This commit is contained in:
8
tap/extensions/http/Makefile
Normal file
8
tap/extensions/http/Makefile
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
test: test-pull
|
||||||
|
MIZU_TEST=1 go test *.go -covermode=atomic -coverprofile=coverage.out
|
||||||
|
|
||||||
|
test-update: test-pull
|
||||||
|
MIZU_TEST=1 TEST_UPDATE=1 go test *.go -v -covermode=atomic -coverprofile=coverage.out
|
||||||
|
|
||||||
|
test-pull:
|
||||||
|
./pull.sh
|
3
tap/extensions/http/pull.sh
Executable file
3
tap/extensions/http/pull.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ "$(ls -A --ignore='.??*' bin)" ] && echo "Skipping downloading BINs" || gsutil -m cp gs://static.up9.io/mizu/test-pcap/bin/http/\*.bin bin
|
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
[ "$(ls -A --ignore='.??*' bin)" ] && echo "Skipping downloading BINs" || gsutil -m cp gs://static.up9.io/mizu/test-pcap/bin/http/\*.bin bin
|
|
||||||
|
|
||||||
MIZU_TEST=1 go test *.go -v -covermode=atomic -coverprofile=coverage.out
|
|
||||||
|
|
||||||
MIZU_TEST=1 TEST_UPDATE=1 go test *.go -v -covermode=atomic -coverprofile=coverage.out
|
|
Reference in New Issue
Block a user