fix parsing adjacent hyphens in a literal by ktbarrett · Pull Request #616 · VUnit/vunit
I'm home now. How do I recreate the environment the regressions run in? I'm assuming there is some assumed set of tools the regression work with. Just running tox locally leads to all the acceptance tests failing.
The environment just requires a simulator (GHDL is used in the CI workflow) and tox. Then, execute tox -e py38-acceptance-ghdl in the root of the repo and it will create a virtualenv and install all the dependencies. If you have docker/podman, you can use the following command to run a container (instead of installing GHDL on your host):
docker run --rm -tv $(pwd):/src -w /src ghdl/vunit:llvm bash -c "pip3 install tox; tox -e py38-acceptance-ghdl"
And is there anyway to increase the verbosity of the tests while they are running? What I have now is not enough to go forward.
Tests are in subdir tests. However, I suggest to run all of them, and then copy the full name of the ones you want to further test. In tox.ini you will find the pytest command. For example:
pytest -v tests/acceptance/test_artificial.py::TestVunitArtificial::test_artificial_verilog
However, it seems to be failing when testing external run scripts. These are, indeed, the examples. Hence, you can first try to execute each example individually.