File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 15
15
go clean -testcache
16
16
go test ./... -v -p 1
17
17
18
+ .PHONY : test-multi
19
+ test-multi :
20
+ go clean -testcache
21
+ go test -v ./multi/
22
+
23
+ .PHONY : test-queue
24
+ test-queue :
25
+ go clean -testcache
26
+ go test -v ./queue/
27
+
28
+ .PHONY : test-uuid
29
+ test-uuid :
30
+ go clean -testcache
31
+ go test -v ./uuid/
32
+
18
33
.PHONY : coverage
19
34
coverage :
20
35
go clean -testcache
Original file line number Diff line number Diff line change @@ -135,17 +135,14 @@ make test
135
135
```
136
136
Tests set up all required ` tarantool ` processes before run and clean up after.
137
137
138
- If you want to run a specific package tests, go to a package folder
138
+ If you want to run a specific package tests, call
139
139
``` bash
140
- cd multi
140
+ make test- < SUBDIR >
141
141
```
142
- and call
142
+ For example, for running tests in ` multi ` and ` uuid ` packages, call
143
143
``` bash
144
- go clean -testcache && go test -v
144
+ make test-multi test-uuid
145
145
```
146
- Use the same for main ` tarantool ` package and ` queue ` and ` uuid ` subpackages.
147
- ` uuid ` tests require
148
- [ Tarantool 2.4.1 or newer] ( https://github.com/tarantool/tarantool/commit/d68fc29246714eee505bc9bbcd84a02de17972c5 ) .
149
146
150
147
## Alternative connectors
151
148
You can’t perform that action at this time.
0 commit comments