This commit is contained in:
parent
74a29f7ce3
commit
75ac0b2e07
8 changed files with 122 additions and 88 deletions
19
Makefile
19
Makefile
|
@ -1,6 +1,8 @@
|
|||
PREFIX=/usr/local
|
||||
PYTHON=python3.sh
|
||||
PIP=pip3.sh
|
||||
iTEST_TIMEOUT=60
|
||||
fSOCKET_TIMEOUT=15.0
|
||||
|
||||
prepare::
|
||||
bash .pylint.sh
|
||||
|
@ -21,8 +23,23 @@ help::
|
|||
$(PYTHON) src/tox_wrapper/tests/tests_wrapper.py --help
|
||||
|
||||
test::
|
||||
test_direct::
|
||||
PYTHONPATH=$${PWD}/src \
|
||||
$(PYTHON) src/tox_wrapper/tests/tests_wrapper.py
|
||||
sudo -u bin $(PYTHON) src/tox_wrapper/tests/tests_wrapper.py \
|
||||
--test_timeout=${iTEST_TIMEOUT} \
|
||||
--nodes_json=/tmp/toxygen_nodes.json \
|
||||
--udp_enabled=True \
|
||||
--trace_enabled=False --loglevel=10
|
||||
|
||||
test_proxy::
|
||||
PYTHONPATH=$${PWD}/src \
|
||||
$(PYTHON) src/tox_wrapper/tests/tests_wrapper.py \
|
||||
--test_timeout=${iTEST_TIMEOUT} \
|
||||
--proxy_host=127.0.0.1 \
|
||||
--proxy_port=9050 \
|
||||
--proxy_type=2 \
|
||||
--nodes_json=$$HOME/.config/tox/DHTnodes.json \
|
||||
--trace_enabled=False --loglevel=10
|
||||
|
||||
clean::
|
||||
rm -f .[a-z]* *~ */*~ */*/*~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue