VPP-424 fix lldp_main declaration
[vpp.git] / vpp-api / python / tests / test_base.py
1 # Manipulate sys.path to allow tests be run inside the build environment.
2 import os, sys, glob
3 scriptdir = os.path.dirname(os.path.realpath(__file__))
4 sys.path.append(os.path.dirname(glob.glob(scriptdir+'/../../../build-root/install*/vpp-api/lib64/vpp_api.so')[0]))
5 sys.path.append(os.path.dirname(glob.glob(scriptdir+'/../../../build-root/install*/vlib-api/vlibmemory/memclnt.py')[0]))
6 sys.path.append(os.path.dirname(glob.glob(scriptdir+'/../../../build-root/install*/vpp/vpp-api/vpe.py')[0]))
7 sys.path.append(glob.glob(scriptdir+'/../../../build-root/install*/plugins/vpp_papi_plugins')[0])