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

Function testsuite_run_test

dpdk/app/test/test_dmadev_api.c:74–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static void
75testsuite_run_test(int (*test)(void), const char *name)
76{
77 int ret = 0;
78
79 if (test) {
80 ret = test();
81 if (ret < 0) {
82 failed++;
83 printf("%s Failed\n", name);
84 } else {
85 passed++;
86 printf("%s Passed\n", name);
87 }
88 }
89
90 total++;
91}
92
93static int
94test_dma_get_dev_id_by_name(void)

Callers

nothing calls this directly

Calls 2

testClass · 0.70
printfFunction · 0.50

Tested by

no test coverage detected