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

Function test_teardown

dpdk/app/test/test_dispatcher.c:759–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759static void test_teardown(void)
760{
761 if (test_app == NULL)
762 return;
763
764 if (test_app->running)
765 test_app_stop(test_app);
766
767 test_app_teardown_service_cores(test_app);
768
769 test_app_unregister_callbacks(test_app);
770
771 test_app_unbind_ports(test_app);
772
773 test_app_free_dispatcher(test_app);
774
775 test_app_teardown_event_dev(test_app);
776
777 test_app_free(test_app);
778
779 test_app = NULL;
780}
781
782static int
783test_app_get_completed_events(struct test_app *app)

Callers

nothing calls this directly

Calls 7

test_app_stopFunction · 0.85
test_app_unbind_portsFunction · 0.85
test_app_free_dispatcherFunction · 0.85
test_app_freeFunction · 0.85

Tested by

no test coverage detected