diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-09-29 12:36:37 +0200 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2017-09-29 12:59:19 +0200 |
commit | d3e671e0dbb879d90f00bdee608ee0bb5f6357ae (patch) | |
tree | eec07bfa10a2789a469c8d629104173bef4a39bf /test/test_vapi.py | |
parent | 0ff5c563d5048991dbd02a3892dccde8305a7e30 (diff) |
make test: fix/disable VAPI tests on centos
Workaround old `check' library on centos.
Disable building/running of C++ VAPI test as centos's gcc can't compile
our C++ code (vapi.hpp) due to bug.
Change-Id: If9da9c7f1bc076f7cdfb9bd3016dfe60a08afa36
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_vapi.py')
-rw-r--r-- | test/test_vapi.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_vapi.py b/test/test_vapi.py index d8e1ebe000f..5f972323c61 100644 --- 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 -from framework import VppTestCase, running_extended_tests, VppTestRunner +from framework import VppTestCase, running_extended_tests, \ + running_on_centos, VppTestRunner 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") + @unittest.skipIf(running_on_centos(), "Centos's gcc can't compile our C++") def test_vapi_cpp(self): """ run C++ VAPI tests """ var = "BR" |