{
Efl_Loop_Arguments *arge = ev->info;
-
fail_if(!arge->initialization);
fprintf(stderr, "ARGC %d\n", eina_array_count(arge->argv));
fail_if(eina_array_count(arge->argv) != 2);
__EFL_MAIN_CONSTRUCTOR;
ret__ = efl_loop_begin(efl_app_main_get(EFL_APP_CLASS));
real__ = efl_loop_exit_code_process(ret__);
+ fail_if(real__ != 0);
__EFL_MAIN_DESTRUCTOR;
ecore_shutdown_ex();
ecore_shutdown();
]
)
+efl_ui_suite_src = [
+ 'efl_ui_suite.c',
+]
+
+efl_ui_suite = executable('efl_ui_suite',
+ efl_ui_suite_src, priv_eo_file_target,
+ dependencies: [check, eina, elementary, elementary_deps],
+ include_directories : [config_dir] + [elementary_config_dir],
+ c_args : [
+ '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
+ '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"',
+ '-DELM_IMAGE_DATA_DIR="'+join_paths(meson.source_root(), 'data', 'elementary')+'"',
+ '-DELM_TEST_DATA_DIR="'+join_paths(meson.build_root(), 'data', 'elementary')+'"',
+ ]
+)
+
test('elementary-suite', elementary_suite,
env : test_env
)
+test('efl-ui-suite', efl_ui_suite,
+ env : test_env
+)
install_data(files(['testdiff.diff', 'testfile-windows.txt', 'testfile-withblanks.txt', 'testfile.txt']),
install_dir : join_paths(dir_data, 'elementary')