File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -27,27 +27,14 @@ test-short:
27
27
test :
28
28
@-rm -r $(COVERAGE_DIR )
29
29
@mkdir $(COVERAGE_DIR )
30
- make test-with-flags TEST_FLAGS=' -v -race -covermode atomic -coverprofile $$(COVERAGE_DIR)/_$$(RAND).txt -bench=. -benchmem -timeout 20m'
31
- @echo ' mode: atomic' > $(COVERAGE_DIR ) /combined.txt
32
- @cat $(COVERAGE_DIR ) /_* .txt | grep -v ' mode: atomic' >> $(COVERAGE_DIR ) /combined.txt
30
+ make test-with-flags TEST_FLAGS=' -v -race -covermode atomic -coverprofile $$(COVERAGE_DIR)/combined.txt -bench=. -benchmem -timeout 20m'
33
31
34
32
35
33
test-with-flags :
36
34
@echo SOURCE: $(SOURCE )
37
35
@echo DATABASE: $(DATABASE )
38
36
39
- @go test $(TEST_FLAGS) .
40
- @go test $(TEST_FLAGS) ./cli/...
41
- @go test $(TEST_FLAGS) ./database
42
- @go test $(TEST_FLAGS) ./testing/...
43
-
44
- @echo -n '$(SOURCE)' | tr -s ' ' '\n' | xargs -I{} go test $(TEST_FLAGS) ./source/{}
45
- @go test $(TEST_FLAGS) ./source/testing/...
46
- @go test $(TEST_FLAGS) ./source/stub/...
47
-
48
- @echo -n '$(DATABASE)' | tr -s ' ' '\n' | xargs -I{} go test $(TEST_FLAGS) ./database/{}
49
- @go test $(TEST_FLAGS) ./database/testing/...
50
- @go test $(TEST_FLAGS) ./database/stub/...
37
+ @go test $(TEST_FLAGS) ./...
51
38
52
39
53
40
kill-orphaned-docker-containers :
You can’t perform that action at this time.
0 commit comments