comparison src/cs/services/mks/tests/mks_test.h @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
1 /********************************************************************************/
2 /* */
3 /* File Name: mks_test.h */
4 /* */
5 /* Purpose: This file contains MKS test generic definitions. */
6 /* */
7 /* Note: None. */
8 /* */
9 /* Revision History: */
10 /* 11/21/2001 Laurent Sollier Create. */
11 /* */
12 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */
13 /* */
14 /********************************************************************************/
15
16 #ifndef _MKS_TEST_H_
17 #define _MKS_TEST_H_
18
19 #include "tests/rv/rv_test_filter_redirect.h"
20 #include "tests/rv/rv_test.h"
21
22 #if (MKS_TEST == SW_COMPILED)
23
24
25 extern T_RVF_MB_ID mb_mks_test;
26 extern T_RV_RETURN mks_test_path;
27
28 /********************************************************************************/
29 /* */
30 /* MACRO Name: mks_test_trace */
31 /* */
32 /* Purpose: This macro is called to trace msg in MKS tests. */
33 /* */
34 /* Note: None. */
35 /* */
36 /* Revision History: */
37 /* 11/21/01 Laurent Sollier Create. */
38 /* */
39 /********************************************************************************/
40 #define mks_test_trace(msg)\
41 {\
42 rvf_send_trace ( msg, sizeof(msg)-1, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_HIGH, TRACE_RVTEST);\
43 }
44
45 /********************************************************************************/
46 /* */
47 /* MACRO Name: mks_test_error */
48 /* */
49 /* Purpose: This macro is called to trace ERROR msg in MKS tests. */
50 /* */
51 /* Note: None. */
52 /* */
53 /* Revision History: */
54 /* 10/29/01 Laurent Sollier Create. */
55 /* */
56 /********************************************************************************/
57 #define mks_test_error(msg)\
58 {\
59 rvf_send_trace ( msg, sizeof(msg)-1, NULL_PARAM, RV_TRACE_LEVEL_ERROR, TRACE_RVTEST);\
60 }
61
62
63
64 #endif /* #if (_MKS_TEST_H_ == SW_COMPILED) */
65 #endif