1 : /*
2 : * This file is part of MIN Test Framework. Copyright © 2008 Nokia Corporation
3 : * and/or its subsidiary(-ies).
4 : * Contact: Marko Hyyppä
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_dsa.c
22 : * @version 0.1
23 : * @brief This file contains main() for DSA unit test codes
24 : */
25 :
26 : /* ------------------------------------------------------------------------- */
27 : /* INCLUDE FILES */
28 : #include <stdlib.h>
29 : #include "check_dsa.tests"
30 :
31 : /* =============================== TEST MAIN =============================== */
32 :
33 : int main (void)
34 37 : {
35 : int number_failed;
36 37 : Suite *s = data_api_suite ();
37 37 : SRunner *sr = srunner_create (s);
38 37 : srunner_run_all (sr, CK_NORMAL);
39 1 : number_failed = srunner_ntests_failed (sr);
40 1 : srunner_free (sr);
41 1 : return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
42 : }
43 :
44 : /* ========================================================================= */
45 : /* End of file */
|