mirror of
https://github.com/gortc/stun.git
synced 2024-05-03 14:44:55 +08:00
16 lines
252 B
Bash
Executable File
16 lines
252 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# test fuzz inputs
|
|
go test -tags gofuzz -run TestFuzz -v .
|
|
|
|
# test with "debug" tag
|
|
go test -tags debug ./...
|
|
|
|
# test concurrency
|
|
go test -race -cpu=1,2,4 -run TestClient_DoConcurrent
|
|
|
|
# test with -race
|
|
go test -race ./...
|