crypto-tls-bogo-shim/Makefile
2017-01-18 17:47:47 +00:00

17 lines
521 B
Makefile

GO_ := $(CURDIR)/vendor/github.com/cloudflare/tls-tris/_dev/go.sh
.PHONY: bin/crypto-tls-bogo-shim
bin/crypto-tls-bogo-shim:
GOBIN=$(CURDIR)/bin $(GO_) install -v .
.PHONY: run
run: bin/crypto-tls-bogo-shim
ifdef NAME
$(eval ARGS += -test $(NAME))
endif
ifdef EXTRA_ARGS
$(eval ARGS += $(EXTRA_ARGS))
endif
unset GOPATH && cd vendor/github.com/google/boringssl/ssl/test/runner && \
go test -loose-errors -allow-unimplemented -shim-path $(CURDIR)/bin/crypto-tls-bogo-shim -shim-config $(CURDIR)/config.json $(ARGS)