16 lines
337 B
Bash
Executable file
16 lines
337 B
Bash
Executable file
#!/bin/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
|