What IDE?
Have you tried running it from make test-shell-debug?

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Keith Burns
Sent: Thursday, September 26, 2019 3:12 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Add test framework to pythonpath ?

Issue:
IDE doesn't know what to do with:
"from framework import VppTestCase, VppTestRunner"

What I tried:
Pointed IDE to use the python-interpreter in ".../vpp/test/run/venv/bin/python" 
but that doesn't contain framework in its site-packages etc.

.../vpp/test/doc/overview.rst references a "virtualenv in build-root" but its 
not apparent  where this is.

Note that all tests pass fine from "make test-debug TEST=...", its the ability 
to follow the symbols ie PYTHONPATH in a venv activate perhaps ?


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14067): https://lists.fd.io/g/vpp-dev/message/14067
Mute This Topic: https://lists.fd.io/mt/34298571/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to