15 lines
325 B
Bash
15 lines
325 B
Bash
|
set -Eeuxo pipefail
|
||
|
|
||
|
# ./tdb/stringy
|
||
|
go test -count=1 -v ./stringy
|
||
|
|
||
|
# ./tdb
|
||
|
rm -f *.pb.go proto_test.go
|
||
|
PATH="${GOPATH}/bin:${PATH}" protoc -I="." --go_out="." test.proto
|
||
|
mv test.pb.go proto_test.go
|
||
|
|
||
|
# go test -count=1 -v -run TestEmptyStringUniqueConstraint ./tdb
|
||
|
go test -count=1 -v .
|
||
|
|
||
|
rm -f *.pb.go proto_test.go *.testdb
|