Skip to content

Commit 006e226

Browse files
committed
tune makefile
1 parent 0412b63 commit 006e226

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
test:
2-
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6 && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6 ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak; true
3-
cp -R . ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6
4-
go test -coverprofile=cover.out -race gopkg.in/rethinkdb/rethinkdb-go.v6; true
5-
go tool cover -html=cover.out -o cover.html; true
6-
rm -f cover.out; true
7-
rm -rf ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6
8-
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6; true
2+
go test -coverprofile=cover.out -race gopkg.in/rethinkdb/rethinkdb-go.v6 gopkg.in/rethinkdb/rethinkdb-go.v6/encoding gopkg.in/rethinkdb/rethinkdb-go.v6/types
3+
go tool cover -html=cover.out -o cover.html
4+
rm -f cover.out
95

106
benchpool:
11-
go test -v -cpu 1,2,4,8,16,24,32,64,128,256 -bench=BenchmarkConnectionPool -run ^$ ./internal/integration/tests/
7+
go test -v -cpu 1,2,4,8,16,24,32,64,128,256 -bench=BenchmarkConnectionPool -run ^$ ./internal/integration/tests/

0 commit comments

Comments
 (0)