tdb/test.sh

15 lines
325 B
Bash
Raw Normal View History

2020-04-16 04:53:50 +00:00
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