summaryrefslogtreecommitdiff
path: root/src/tests/ector/suite/ector_suite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ector/suite/ector_suite.c')
-rw-r--r--src/tests/ector/suite/ector_suite.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/tests/ector/suite/ector_suite.c b/src/tests/ector/suite/ector_suite.c
new file mode 100644
index 0000000..fa491df
--- /dev/null
+++ b/src/tests/ector/suite/ector_suite.c
@@ -0,0 +1,45 @@
1/* ECTOR - EFL retained mode drawing library
2 * Copyright (C) 2014 Cedric Bail
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library;
16 * if not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifdef HAVE_CONFIG_H
20# include <config.h>
21#endif
22
23#include "ector_suite.h"
24#include "../efl_check.h"
25
26static const Efl_Test_Case etc[] = {
27 { "init", ector_test_init },
28 { NULL, NULL }
29};
30
31int
32main(int argc, char *argv[])
33{
34 int failed_count;
35
36 if (!_efl_test_option_disp(argc, argv, etc))
37 return 0;
38
39 putenv("EFL_RUN_IN_TREE=1");
40
41 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
42 "Ector", etc);
43
44 return (failed_count == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
45}