diff --git a/pkg/rtmp/pack_test.go b/pkg/rtmp/pack_test.go new file mode 100644 index 0000000..c94fef8 --- /dev/null +++ b/pkg/rtmp/pack_test.go @@ -0,0 +1 @@ +package rtmp diff --git a/test.sh b/test.sh index 4f3d016..75e35bb 100755 --- a/test.sh +++ b/test.sh @@ -3,7 +3,7 @@ set -e echo "" > coverage.txt -for d in $(go list ./... | grep -v vendor); do +for d in $(go list ./... | grep -v vendor | grep lal/pkg); do go test -race -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then cat profile.out >> coverage.txt