LCOV - code coverage report
Current view: top level - app/test-cmdline - cmdline_test.c (source / functions) Hit Total Coverage
Test: Code coverage Lines: 0 6 0.0 %
Date: 2025-02-01 18:54:23 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright(c) 2010-2014 Intel Corporation
       3                 :            :  */
       4                 :            : 
       5                 :            : #include <string.h>
       6                 :            : #include <stdio.h>
       7                 :            : #include <stdint.h>
       8                 :            : #include <stdarg.h>
       9                 :            : #include <stdlib.h>
      10                 :            : #include <errno.h>
      11                 :            : #include <termios.h>
      12                 :            : #include <ctype.h>
      13                 :            : #include <sys/queue.h>
      14                 :            : 
      15                 :            : #include <rte_common.h>
      16                 :            : 
      17                 :            : #include <cmdline_rdline.h>
      18                 :            : #include <cmdline_parse.h>
      19                 :            : #include <cmdline_socket.h>
      20                 :            : #include <cmdline.h>
      21                 :            : 
      22                 :            : #include "cmdline_test.h"
      23                 :            : 
      24                 :            : int
      25                 :          0 : main(int __rte_unused argc, char __rte_unused ** argv)
      26                 :            : {
      27                 :            :         struct cmdline *cl;
      28                 :            : 
      29                 :          0 :         cl = cmdline_stdin_new(main_ctx, "CMDLINE_TEST>>");
      30                 :          0 :         if (cl == NULL) {
      31                 :            :                 return -1;
      32                 :            :         }
      33                 :          0 :         cmdline_interact(cl);
      34                 :          0 :         cmdline_stdin_exit(cl);
      35                 :            : 
      36                 :          0 :         return 0;
      37                 :            : }

Generated by: LCOV version 1.14