make test: automatic sanity check

Check if vpp_papi is importable before running the tests to avoid
confusing python crashes.

Change-Id: I6adf406e353bf381d590f2ef988a1ea79b95cf37
Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:
Klement Sekera
2017-03-09 08:20:13 +01:00
committed by Damjan Marion
parent a86e289570
commit c160ae0dca
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,4 @@
#!/usr/bin/env python
""" sanity check script """
import vpp_papi