summaryrefslogtreecommitdiffstats
path: root/test/sanity_import_vpp_papi.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-03-09 08:20:13 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-09 20:06:58 +0000
commitc160ae0dca8cde1b4690b0eea3b972cbff3f4128 (patch)
tree62d99f2b09c40e6bd56410a4b298bc7dc0ed90ec /test/sanity_import_vpp_papi.py
parenta86e289570dfb7e02c47bed023c0669f3804a8bd (diff)
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>
Diffstat (limited to 'test/sanity_import_vpp_papi.py')
-rw-r--r--test/sanity_import_vpp_papi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/sanity_import_vpp_papi.py b/test/sanity_import_vpp_papi.py
new file mode 100644
index 00000000000..535e00c9967
--- /dev/null
+++ b/test/sanity_import_vpp_papi.py
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+
+""" sanity check script """
+import vpp_papi