update
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
emdee@spm.plastiras.org 2024-02-04 01:07:37 +00:00
parent 74a29f7ce3
commit 75ac0b2e07
8 changed files with 122 additions and 88 deletions

View file

@ -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]* *~ */*~ */*/*~