Improve single test run make targets for Linux

This commit is contained in:
Derek Parker 2015-05-15 15:32:47 -05:00
parent d73569a7b5
commit 7cb6480142

@ -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