This lets us use the integrated unittest runner, which does things
like report failures at the end, stdio buffering, etc. You can still
use the old tests/run_tests if desired (for now), but this makes it
much nicer for the build system.
Loosely related to #5237
Tox handles venv creation and management of setup install for
running tests. Since we have a venv required already, this just
makes sense.
Now, instead of:
./run_all_tests.sh
You can just run:
tox
Assuming you have tox installed (pip install tox). You can run individual
test groups like this:
tox -e unit
tox -e driver
and still pass arguments to the driver tests per usual with:
tox -e driver -- -d Icom_IC-2200H
I'll be working to make the build system use tox for running tests with
better isolation and hopefully more repeatability.
#5237