| 870 | } |
| 871 | |
| 872 | static int |
| 873 | test_graph_walk(void) |
| 874 | { |
| 875 | struct rte_graph *graph = rte_graph_lookup("worker0"); |
| 876 | int i; |
| 877 | |
| 878 | if (!graph) { |
| 879 | printf("Graph lookup failed\n"); |
| 880 | return -1; |
| 881 | } |
| 882 | |
| 883 | for (i = 0; i < 5; i++) |
| 884 | rte_graph_walk(graph); |
| 885 | return 0; |
| 886 | } |
| 887 | |
| 888 | static int |
| 889 | test_graph_lookup_functions(void) |
nothing calls this directly
no test coverage detected