MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dpaa2_test_run

Function dpaa2_test_run

dpdk/drivers/event/dpaa2/dpaa2_eventdev_selftest.c:773–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773static void dpaa2_test_run(int (*setup)(void), void (*tdown)(void),
774 int (*test)(void), const char *name)
775{
776 if (setup() < 0) {
777 RTE_LOG(INFO, PMD, "Error setting up test %s", name);
778 unsupported++;
779 } else {
780 if (test() < 0) {
781 failed++;
782 RTE_LOG(INFO, PMD, "%s Failed\n", name);
783 } else {
784 passed++;
785 RTE_LOG(INFO, PMD, "%s Passed", name);
786 }
787 }
788
789 total++;
790 tdown();
791}
792
793int
794test_eventdev_dpaa2(void)

Callers

nothing calls this directly

Calls 2

setupFunction · 0.85
testClass · 0.50

Tested by

no test coverage detected