diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2021-03-16 22:12:07 -0400 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2021-03-24 20:50:59 +0000 |
commit | fd243741e09d579743148432c136c06d92b36647 (patch) | |
tree | e2d6bdd385e6abe1aa918b79d5b543d676dea203 /test/framework.py | |
parent | da282b5d087d6acca38aedc37f55ac2d749e874f (diff) |
tests: add vpp test dirs to PYTHONPATH
- Required to relocate test infra modules
to be co-located in feature test directory.
- Remove/regenerate build-root/build-test/src/
soft links when running make test to allow
re-running 'make test' after moving source files.
- Suppress annoying 'ls' error message when gathering
test source files caused by 'c' test application
directory being named 'test'.
- Use PYTHONPYCACHEPREFIX to generate all
compiled source under build-root/build-test.
This only works for python 3.8 or greater, but
existing 'make test-wipe' target cleans up
in-situ __pycache__ directories for older
python versions.
Type: fix
Change-Id: If3c3ff0c58fb26a17395babc34783e06b1dd84e7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/framework.py')
0 files changed, 0 insertions, 0 deletions