This commit is contained in:
Hsiao-Wei Wang 2019-05-27 18:48:40 +08:00
parent 3e6f7a2e96
commit 0ec03db0fb
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ install_deposit_contract_test:
test_deposit_contract: $(PY_SPEC_ALL_TARGETS) test_deposit_contract: $(PY_SPEC_ALL_TARGETS)
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; \ cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; \
cd ../.. && cd $(DEPOSIT_CONTRACT_DIR) && python -m pytest . cd ../.. && cd $(DEPOSIT_CONTRACT_DIR); \
pip3 install -r requirements-testing.txt; \
python -m pytest .
# "make pyspec" to create the pyspec for all phases. # "make pyspec" to create the pyspec for all phases.
pyspec: $(PY_SPEC_ALL_TARGETS) pyspec: $(PY_SPEC_ALL_TARGETS)