
On Fri, 19 Oct 2018, 18:01 Francesco Romani, <fromani@redhat.com> wrote:
On 10/19/18 3:40 PM, Vojtech Juranek wrote:
Hi,
Hi, beginner question: I'm trying to run some VDSM tests locally (e.g. blocksd_test.py), using
PYTHON_EXE=python3 ./run_tests_local.sh storage/blocksd_test.py
Please be aware some tests were not ported to python3. "blocksd_test.py" is among them.
What I'm doing wrong and how I can run selected tests locally?
I don't know about storage, but virt tests should be each one runnable using ./run_test_local.sh.
(in general) I think we should preserve this property when we will move to py.test.
run_test* scripts are legacy that should be elinimated. tox replaces these script, building the enviroment, intalling tools, running tests with several versions of python, supporting testing of multiple testenvs, single testenv, single file, and using pytest options, selecting or rejecting tests by name or marks (e.g slow).
Bests,
-- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/O5DIOKFUBCVV55...