Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: remove vlan-strip offload code
[vpp.git]
/
test
/
test_string.py
diff --git
a/test/test_string.py
b/test/test_string.py
index
667bdf0
..
c507c75
100644
(file)
--- a/
test/test_string.py
+++ b/
test/test_string.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
import unittest
import unittest
@@
-27,9
+27,8
@@
class TestString(VppTestCase):
""" String unit tests """
names = ["memcpy_s",
"clib_memcmp", "clib_memcpy", "clib_memset",
""" String unit tests """
names = ["memcpy_s",
"clib_memcmp", "clib_memcpy", "clib_memset",
- "clib_strcat", "clib_strcmp", "clib_strcpy",
- "clib_strncat", "clib_strncmp", "clib_strncpy",
- "clib_strnlen", "clib_strstr", "clib_strtok",
+ "clib_strcmp", "clib_strncmp", "clib_strncpy",
+ "clib_strnlen", "clib_strtok",
"memcmp_s", "memcpy_s", "memset_s ",
"strcat_s", "strcmp_s", "strcpy_s",
"strncat_s", "strncmp_s", "strncpy_s",
"memcmp_s", "memcpy_s", "memset_s ",
"strcat_s", "strcmp_s", "strcpy_s",
"strncat_s", "strncmp_s", "strncpy_s",
@@
-41,5
+40,6
@@
class TestString(VppTestCase):
self.logger.critical("FAILURE in the " + name + " test")
self.assertNotIn("failed", error)
self.logger.critical("FAILURE in the " + name + " test")
self.assertNotIn("failed", error)
+
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)