aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_vapi.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-02-22 14:47:00 +0100
committerNeale Ranns <nranns@cisco.com>2018-02-22 17:55:39 +0000
commitcae7134a8c23b2ae3bb742b12789e5572aabf73d (patch)
tree4c36ca6db9a5ffef5e8e55f1c7a3042fc71e436c /test/test_vapi.py
parentaba98ded5f552ae03704836acfecbd9db8872fed (diff)
make test: build test/ext when doing coverage
This makes VAPI/VOM tests part of code coverage report. Change-Id: I66511b0a59880c2a64daecd37088268bdf5e1269 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_vapi.py')
-rw-r--r--test/test_vapi.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_vapi.py b/test/test_vapi.py
index b5820fa181b..50a34df01fe 100644
--- a/test/test_vapi.py
+++ b/test/test_vapi.py
@@ -4,9 +4,6 @@
import unittest
import os
import signal
-import subprocess
-from threading import Thread
-from log import single_line_delim
from framework import VppTestCase, running_extended_tests, \
running_on_centos, VppTestRunner, Worker
@@ -37,7 +34,8 @@ class VAPITestCase(VppTestCase):
os.killpg(os.getpgid(worker.process.pid), signal.SIGTERM)
worker.join()
except:
- raise Exception("Couldn't kill worker-spawned process")
+ self.logger.debug("Couldn't kill worker-spawned process")
+ raise
if error:
raise Exception(
"Timeout! Worker did not finish in %ss" % timeout)