代码拉取完成,页面将自动刷新
# Copyright SecureKey Technologies Inc.
#
# SPDX-License-Identifier: Apache-2.0
.PHONY: all
all: checks unit-test
.PHONY: unit-test
unit-test:
@scripts/check_unit.sh
.PHONY: vdr-trustbloc-bdd-test
vdr-trustbloc-bdd-test: generate-vdr-trustbloc-test-keys
@cd ./test/bdd/vdr/trustbloc/;go test -count=1 -v -cover . -p 1 -timeout=20m
.PHONY: vdr-orb-bdd-test
vdr-orb-bdd-test: generate-vdr-orb-test-keys
@cd ./test/bdd/vdr/orb/;go test -count=1 -run orb_ipfs -v -cover . -p 1 -timeout=20m
@cd ./test/bdd/vdr/orb/;UPDATE_DOCUMENT_STORE_ENABLED=true BATCH_TIMEOUT=10000 CAS_TYPE=local go test -count=1 -run orb_cas -v -cover . -p 1 -timeout=20m
.PHONY: checks
checks: license lint
.PHONY: license
license:
@scripts/check_license.sh
.PHONY: lint
lint:
scripts/check_lint.sh
.PHONY: generate-vdr-trustbloc-test-keys
generate-vdr-trustbloc-test-keys:
@rm -Rf ./test/bdd/vdr/trustbloc/fixtures/keys/tls
@mkdir -p -p test/bdd/vdr/trustbloc/fixtures/keys/tls
@docker run -i --rm \
-v $(abspath .):/opt/workspace/ext \
--entrypoint "/opt/workspace/ext/test/bdd/vdr/trustbloc/generate_test_keys.sh" \
frapsoft/openssl
.PHONY: generate-vdr-orb-test-keys
generate-vdr-orb-test-keys:
@rm -Rf ./test/bdd/vdr/orb/fixtures/keys/tls
@mkdir -p -p test/bdd/vdr/orb/fixtures/keys/tls
@docker run -i --rm \
-v $(abspath .):/opt/workspace/ext \
--entrypoint "/opt/workspace/ext/test/bdd/vdr/orb/generate_test_keys.sh" \
frapsoft/openssl
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。