equal
deleted
inserted
replaced
|
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
|
2 /* |
|
3 * Copyright (C) 2006 Imendio AB |
|
4 * |
|
5 * This program is free software; you can redistribute it and/or |
|
6 * modify it under the terms of the GNU Lesser General Public License as |
|
7 * published by the Free Software Foundation; either version 2 of the |
|
8 * License, or (at your option) any later version. |
|
9 * |
|
10 * This program is distributed in the hope that it will be useful, |
|
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 * Lesser General Public License for more details. |
|
14 * |
|
15 * You should have received a copy of the GNU Lesser General Public |
|
16 * License along with this program; if not, write to the |
|
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
18 * Boston, MA 02111-1307, USA. |
|
19 */ |
|
20 |
|
21 #include <stdlib.h> |
|
22 #include <check.h> |
|
23 |
|
24 static Suite * |
|
25 create_lm_parser_suite () |
|
26 { |
|
27 Suite *suite; |
|
28 |
|
29 suite = suite_create ("LmParser"); |
|
30 |
|
31 return suite; |
|
32 } |
|
33 |
|
34 int |
|
35 main (int argc, char **argv) |
|
36 { |
|
37 SRunner *srunner; |
|
38 int nf; |
|
39 |
|
40 srunner = srunner_create (create_lm_parser_suite ()); |
|
41 |
|
42 srunner_run_all (srunner, CK_NORMAL); |
|
43 nf = srunner_ntests_failed (srunner); |
|
44 |
|
45 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; |
|
46 } |
|
47 |