Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tests: add running_gcov_tests to framework.py
[vpp.git]
/
test
/
test_bihash.py
diff --git
a/test/test_bihash.py
b/test/test_bihash.py
index
04b1b4f
..
ac8bab3
100644
(file)
--- a/
test/test_bihash.py
+++ b/
test/test_bihash.py
@@
-2,7
+2,7
@@
import unittest
import unittest
-from framework import VppTestCase, VppTestRunner
+from framework import VppTestCase, VppTestRunner
, running_gcov_tests
from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath
from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath
@@
-50,6
+50,7
@@
class TestBihash(VppTestCase):
self.logger.critical(error)
self.assertNotIn('failed', error)
self.logger.critical(error)
self.assertNotIn('failed', error)
+ @unittest.skipUnless(running_gcov_tests, "part of code coverage tests")
def test_bihash_coverage(self):
""" Improve Code Coverage """
def test_bihash_coverage(self):
""" Improve Code Coverage """
@@
-60,6
+61,5
@@
class TestBihash(VppTestCase):
self.logger.critical(error)
self.assertNotIn('failed', error)
self.logger.critical(error)
self.assertNotIn('failed', error)
-
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)