Improve single test run make targets for Linux
This commit is contained in:
parent
d73569a7b5
commit
7cb6480142
8
Makefile
8
Makefile
@ -24,7 +24,15 @@ else
|
||||
endif
|
||||
|
||||
test-proctl-run:
|
||||
ifeq "$(UNAME)" "Darwin"
|
||||
cd proctl && go test -c $(PREFIX)/proctl && codesign -s $(CERT) ./proctl.test && ./proctl.test -test.run $(RUN) && rm ./proctl.test
|
||||
else
|
||||
cd proctl && go test -run $(RUN)
|
||||
endif
|
||||
|
||||
test-integration-run:
|
||||
ifeq "$(UNAME)" "Darwin"
|
||||
cd service/rest && go test -c $(PREFIX)/service/rest && codesign -s $(CERT) ./rest.test && ./rest.test -test.run $(RUN) && rm ./rest.test
|
||||
else
|
||||
cd service/rest && go test -run $(RUN)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user