kpd_test_misc.c
来自「MMI层OBJ不能完全编译」· C语言 代码 · 共 62 行
C
62 行
/**
* @file kpd_test_misc.c
*
* Generic file holding xxx_test_misc function. Makes it possible
* to create more than one misc test for 3rd parties.
*
* @author Texas Instruments Incorporated
* @version 0.1
*/
/*
* History:
*
* Date Author Modification
* -------------------------------------------------------------------
* 5/30/2003 Create.
*
* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved
*/
#include "kpd/tests/kpd_test_misc.h"
#include "kpd/tests/kpd_test_misc0.h"
#include "kpd/tests/kpd_test_misc1.h"
#include "kpd/tests/kpd_test_misc2.h"
/**
* Main function multiplexing the different misc tests to process.
* Function is being called from rv_test_misc.c file inside Riviera.
*
* Function description
*
* @param Test_number Number of the test to process.
* @return Result of the test.
*/
T_RV_MISC_RET kpd_test_misc(T_RV_MISC_TEST_NBR test_number)
{
T_RV_TEST_RET test_verdict;
if (test_number < TEST_NUMBER_LIMIT0)
{
/* Tests developped by TI */
test_verdict = kpd_test_misc0(test_number);
}
else if (test_number < TEST_NUMBER_LIMIT1)
{
/* Tests developped by Silicomp */
test_verdict = kpd_test_misc1(test_number);
}
else if (test_number >= TEST_NUMBER_LIMIT1)
{
/* Tests developped by ICT */
test_verdict = kpd_test_misc2(test_number);
}
/* return test_verdict to rtest SWE */
return test_verdict;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?