summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-16 21:37:27 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-16 21:37:27 +0100
commit91dbf844ad923e3c4bca1252dd104d8fc8ce5475 (patch)
tree93c4db659daf278db034b304e4cd910454504ec1 /tox.ini
parent6f19923a918f7fb63a444b0c99950fdbe9d2f74c (diff)
New upstream version 20231016upstream/20231016
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini81
1 files changed, 0 insertions, 81 deletions
diff --git a/tox.ini b/tox.ini
deleted file mode 100644
index dc44ec8..0000000
--- a/tox.ini
+++ /dev/null
@@ -1,81 +0,0 @@
-[tox]
-envlist = unit,driver,style,py3clean,py3unit,py3driver
-skipsdist = True
-
-[testenv]
-basepython = python2.7
-sitepackages = True
-passenv = HOME CHIRP_TESTS CHIRP_TESTIMG
-whitelist_externals = bash
-deps = future
-
-[testenv:unit]
-deps =
- pytest
- mox
- mock
- future
- pytest-xdist
-commands =
- pytest --disable-warnings -v tests/unit {posargs}
- python ./share/make_supported.py /dev/null
-
-[testenv:driver]
-deps =
- future
- pytest
- pytest-xdist
-commands =
- pytest --disable-warnings -v tests/test_drivers.py {posargs}
-
-[testenv:style]
-basepython = python3
-sitepackages = False
-deps =
- pep8
- future
- flake8
-commands =
- python3 ./tools/cpep8.py
- flake8 --builtins="_" chirp/wxui
-
-[textenv:py3clean]
-commands =
- py3clean chirp tests
-
-[testenv:py3unit]
-basepython = python3
-sitepackages = False
-setenv =
- PYTHONPATH=../..
-deps =
- -rtest-requirements.txt
-commands =
- pytest --disable-warnings --html=unit_report.html -v tests/unit {posargs}
-
-[testenv:py3driver]
-basepython = python3
-sitepackages = False
-setenv =
- PYTHONPATH=../..
- CHIRP_DEBUG=y
-deps =
- {[testenv:py3unit]deps}
- pytest-xdist
-commands =
- pytest --disable-warnings --html=driver_report.html -v tests/test_drivers.py -n auto {posargs}
-
-[pytest]
-xfail_strict = true
-
-[testenv:makesupported]
-basepython = python3
-sitepackages = False
-whitelist_externals = git
-deps =
- -rtest-requirements.txt
-commands =
- python3 share/make_supported.py model_support.html
- python3 setup.py develop
- python3 tools/py3_driver_progress.py -o tests/Python3_Driver_Testing.md tests/py3_driver_testers.txt
- git diff --exit-code tests/Python3_Driver_Testing.md