1 : /*
2 : * This file is part of MIN Test Framework. Copyright © 2008 Nokia Corporation
3 : * and/or its subsidiary(-ies).
4 : * Contact: Robert Galkowski
5 : * Contact e-mail: DG.MIN-Support@nokia.com
6 : *
7 : * This program is free software: you can redistribute it and/or modify it
8 : * under the terms of the GNU General Public License as published by the Free
9 : * Software Foundation, version 2 of the License.
10 : *
11 : * This program is distributed in the hope that it will be useful, but WITHOUT
12 : * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 : * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 : * more details. You should have received a copy of the GNU General Public
15 : * License along with this program. If not, see
16 : * <http://www.gnu.org/licenses/>.
17 : */
18 :
19 :
20 : /**
21 : * @file check_tec.c
22 : * @version 0.1
23 : * @brief test engine testsuites runner
24 : */
25 :
26 : /* ----------------------------------------------------------------------------
27 : * INCLUDE FILES
28 : */
29 : #include <stdlib.h>
30 :
31 : /* ----------------------------------------------------------------------------
32 : * EXTERNAL DATA STRUCTURES
33 : * None
34 : */
35 :
36 : /* ---------------------------------------------------------------------------
37 : * EXTERNAL FUNCTION PROTOTYPES
38 : */
39 :
40 : extern int tec_tests ();
41 : extern int tec_events_tests ();
42 :
43 : int slave_exit;
44 :
45 : /* ----------------------------------------------------------------------------
46 : * CONSTANTS
47 : */
48 :
49 : /* ----------------------------------------------------------------------------
50 : * MACROS
51 : */
52 : /* None */
53 :
54 : /* ----------------------------------------------------------------------------
55 : * LOCAL CONSTANTS AND MACROS
56 : */
57 : /* None */
58 :
59 : /* ----------------------------------------------------------------------------
60 : * MODULE DATA STRUCTURES
61 : */
62 : /* None */
63 :
64 : /* ----------------------------------------------------------------------------
65 : * LOCAL FUNCTION PROTOTYPES
66 : */
67 : /* None */
68 :
69 : /* -------------------------------------------------------------------------
70 : * FORWARD DECLARATIONS
71 : */
72 : /* None */
73 :
74 : /* ==================== LOCAL FUNCTIONS ==================================== */
75 : int main (int argc, char *argv[], char *envp[])
76 22 : {
77 : int number_failed;
78 :
79 22 : number_failed = tec_tests (envp);
80 1 : number_failed += tec_events_tests ();
81 :
82 1 : return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
83 : }
84 :
85 : /* ======================== FUNCTIONS ====================================== */
86 : /* None */
87 :
88 : /* ------------------------------------------------------------------------- */
89 :
90 : /* ------------------------------------------------------------------------- */
91 :
92 : /* ------------------------------------------------------------------------- */
93 :
94 :
95 : /* ================= OTHER EXPORTED FUNCTIONS ============================== */
96 : /* None */
97 : /* End of file */
|