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>
This commit is contained in:
@ -92,6 +92,15 @@ def running_extended_tests():
|
||||
return False
|
||||
|
||||
|
||||
def running_on_centos():
|
||||
try:
|
||||
os_id = os.getenv("OS_ID")
|
||||
return True if "centos" in os_id.lower() else False
|
||||
except:
|
||||
return False
|
||||
return False
|
||||
|
||||
|
||||
class KeepAliveReporter(object):
|
||||
"""
|
||||
Singleton object which reports test start to parent process
|
||||
|
Reference in New Issue
Block a user