aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_unit_tests/documentation.rst
diff options
context:
space:
mode:
authorMaciek Konstantynowicz <mkonstan@cisco.com>2017-02-05 16:33:28 +0000
committerMaciek Konstantynowicz <mkonstan@cisco.com>2017-02-06 16:27:37 +0000
commitda2aa127ee071e37bc4d6060dd39476179e65365 (patch)
treeea4fa5cd56fc6219efa290ba2b93288bc84ebe7e /docs/report/vpp_unit_tests/documentation.rst
parenta1d482fcf9c221cda2f13429810bca945d9f09f4 (diff)
csit rls1701 report edits:
- simplified section structure for clarity and readability, - updated overview sections, - moved not rls related content from rls_notes to overview sections, - removed section title suffixes: HW, VIRL. - completed vpp_unit_tests and vpp_unittest_results sections. - updated all documentation sections. - updated rls_notes sections for vpp performance and vpp functional. Change-Id: Id2c2abbf9d3531ec9f63ecd353f385a0b55ae1ba Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com> Signed-off-by: pmikus <pmikus@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com> Signed-off-by: pmikus <pmikus@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
Diffstat (limited to 'docs/report/vpp_unit_tests/documentation.rst')
-rw-r--r--docs/report/vpp_unit_tests/documentation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/report/vpp_unit_tests/documentation.rst b/docs/report/vpp_unit_tests/documentation.rst
new file mode 100644
index 0000000000..dc10704725
--- /dev/null
+++ b/docs/report/vpp_unit_tests/documentation.rst
@@ -0,0 +1,6 @@
+Documentation
+=============
+
+For complete description of the VPP Test Framework including anatomy of a test
+case and detailed documentation of existing VPP unit test cases please refer
+to the `VPP Unit Test Documentation <link>`_
rning permissions and * limitations under the License. */ /** * @file * @brief cuckoo debugs */ #ifndef __included_cuckoo_debug_h__ #define __included_cuckoo_debug_h__ /* controls debug counters */ #define CLIB_CUCKOO_DEBUG_COUNTERS (0) /* controls debug prints */ #define CLIB_CUCKOO_DEBUG (0) /* controls garbage collection related debug prints */ #define CLIB_CUCKOO_DEBUG_GC (0) #if CLIB_CUCKOO_DEBUG #define CLIB_CUCKOO_DEBUG_FILE_DEF \ static const char *__file = NULL; \ { \ __file = strrchr (__FILE__, '/'); \ if (__file) \ { \ ++__file; \ } \ else \ { \ __file = __FILE__; \ } \ } #define CLIB_CUCKOO_DBG(fmt, ...) \ do \ { \ CLIB_CUCKOO_DEBUG_FILE_DEF \ static u8 *_s = NULL; \ _s = format (_s, "DBG:%s:%d:%s():" fmt, __file, __LINE__, __func__, \ ##__VA_ARGS__); \ printf ("%.*s\n", vec_len (_s), _s); \ vec_reset_length (_s); \ } \ while (0); #define CLIB_CUCKOO_ERR(fmt, ...) \ do \ { \ CLIB_CUCKOO_DEBUG_FILE_DEF \ static u8 *_s = NULL; \ _s = format (_s, "ERR:%s:%d:%s():" fmt, __file, __LINE__, __func__, \ ##__VA_ARGS__); \ printf ("%.*s\n", vec_len (_s), _s); \ vec_reset_length (_s); \ } \ while (0); #else #define CLIB_CUCKOO_DBG(...) #define CLIB_CUCKOO_ERR(...) #endif #endif /* __included_cuckoo_debug_h__ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */