ctest_dnxc_system.h (1218B)
1 /** 2 * \file diag_sand_framework.h 3 * 4 * Framework utilities, structures and definitions 5 */ 6 /* 7 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 8 * 9 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 10 */ 11 12 #ifndef DNXC_CTEST_H_INCLUDED 13 #define DNXC_CTEST_H_INCLUDED 14 15 #include <appl/diag/sand/diag_sand_framework.h> 16 17 /** 18 * \brief Routine serves to add test dynamically 19 * \par DIRECT INPUT: 20 * \param [in] unit unit id 21 * \param [in] test_list list where dynamic tests are supposed to be added 22 * \param [in] test_name test name 23 * \param [in] test_params list of command line options for the test 24 * \param [in] flags marks tests export variety for different conditions 25 * \par DIRECT OUTPUT: 26 * \retval _SHR_E_NONE for success 27 * \retval _SHR_E_PARAM problem with input parameters, usage should be printed by calling procedure 28 * \retval other errors for other failure type 29 */ 30 shr_error_e sh_sand_test_add( 31 int unit, 32 rhlist_t * test_list, 33 char *test_name, 34 char *test_params, 35 int flags); 36 37 extern sh_sand_cmd_t sh_dnxc_sys_ctest_cmds[]; 38 39 #endif /* DNXC_CTEST_H_INCLUDED */