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_integration.c
22 : * @version 0.1
23 : * @brief integration tests runner
24 : */
25 :
26 : /* ----------------------------------------------------------------------------
27 : * INCLUDE FILES
28 : */
29 : #include <check.h>
30 : #include <mintfwif.h>
31 : #include <data_api.h>
32 : #include <tec.h>
33 :
34 :
35 : #include "integration.tests"
36 : /* ----------------------------------------------------------------------------
37 : * EXTERNAL DATA STRUCTURES
38 : * None
39 : */
40 :
41 : /* ---------------------------------------------------------------------------
42 : * EXTERNAL FUNCTION PROTOTYPES
43 : */
44 : /* ----------------------------------------------------------------------------
45 : * CONSTANTS
46 : */
47 :
48 : /* ----------------------------------------------------------------------------
49 : * MACROS
50 : */
51 : /* None */
52 :
53 : /* ----------------------------------------------------------------------------
54 : * LOCAL CONSTANTS AND MACROS
55 : */
56 : /* None */
57 :
58 : /* ----------------------------------------------------------------------------
59 : * MODULE DATA STRUCTURES
60 : */
61 : /* None */
62 :
63 : /* ----------------------------------------------------------------------------
64 : * LOCAL FUNCTION PROTOTYPES
65 : */
66 : /* None */
67 :
68 : /* -------------------------------------------------------------------------
69 : * FORWARD DECLARATIONS
70 : */
71 : /* None */
72 :
73 : /* ==================== LOCAL FUNCTIONS ==================================== */
74 : int main (int argc, char *argv[], char *envp[])
75 85 : {
76 : int num_failed;
77 :
78 85 : num_failed = integration_tests (envp);
79 :
80 1 : return (num_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
81 : }
82 :
83 : /* ======================== FUNCTIONS ====================================== */
84 : /* None */
85 :
86 : /* ------------------------------------------------------------------------- */
87 :
88 : /* ------------------------------------------------------------------------- */
89 :
90 : /* ------------------------------------------------------------------------- */
91 :
92 :
93 : /* ================= OTHER EXPORTED FUNCTIONS ============================== */
94 : /* None */
95 : /* End of file */
|