Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
make test: fix/disable VAPI tests on centos
[vpp.git]
/
test
/
test_vapi.py
diff --git
a/test/test_vapi.py
b/test/test_vapi.py
index
d8e1ebe
..
5f97232
100644
(file)
--- a/
test/test_vapi.py
+++ b/
test/test_vapi.py
@@
-8,7
+8,8
@@
import signal
import subprocess
from threading import Thread
from log import single_line_delim
import subprocess
from threading import Thread
from log import single_line_delim
-from framework import VppTestCase, running_extended_tests, VppTestRunner
+from framework import VppTestCase, running_extended_tests, \
+ running_on_centos, VppTestRunner
class Worker(Thread):
class Worker(Thread):
@@
-73,6
+74,7
@@
class VAPITestCase(VppTestCase):
"Timeout! Worker did not finish in %ss" % timeout)
self.assert_equal(worker.result, 0, "Binary test return code")
"Timeout! Worker did not finish in %ss" % timeout)
self.assert_equal(worker.result, 0, "Binary test return code")
+ @unittest.skipIf(running_on_centos(), "Centos's gcc can't compile our C++")
def test_vapi_cpp(self):
""" run C++ VAPI tests """
var = "BR"
def test_vapi_cpp(self):
""" run C++ VAPI tests """
var = "BR"