summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:22:40 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:38:33 -0400
commit2cd4d67109bc522984690270b1a3d1dfebb1aea0 (patch)
treee63a1716abbf3f02b955190e9e461f713fb8d5e9 /src/tests/edje
parentb60e949fb69983d0212c771e72bdc51d751fdb42 (diff)
tests/edje: disable efreetd and ecore system modules in unit tests
Summary: these cause tests to take up to 100x longer Reviewers: bu5hm4n, cedric Reviewed By: bu5hm4n, cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D9702
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/edje_suite.c4
-rw-r--r--src/tests/edje/meson.build2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/edje/edje_suite.c b/src/tests/edje/edje_suite.c
index 8193003..18eb885 100644
--- a/src/tests/edje/edje_suite.c
+++ b/src/tests/edje/edje_suite.c
@@ -5,6 +5,8 @@
5#include "edje_suite.h" 5#include "edje_suite.h"
6#include "../efl_check.h" 6#include "../efl_check.h"
7#include <Ecore_Evas.h> 7#include <Ecore_Evas.h>
8#include <Efreet.h>
9#include <Ecore.h>
8 10
9static const Efl_Test_Case etc[] = { 11static const Efl_Test_Case etc[] = {
10 { "Edje", edje_test_edje }, 12 { "Edje", edje_test_edje },
@@ -68,6 +70,8 @@ main(int argc, char **argv)
68#ifdef NEED_RUN_IN_TREE 70#ifdef NEED_RUN_IN_TREE
69 putenv("EFL_RUN_IN_TREE=1"); 71 putenv("EFL_RUN_IN_TREE=1");
70#endif 72#endif
73 ecore_app_no_system_modules();
74 efreet_cache_disable();
71 75
72 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1, 76 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
73 "Edje", etc, SUITE_INIT_FN(edje), SUITE_SHUTDOWN_FN(edje)); 77 "Edje", etc, SUITE_INIT_FN(edje), SUITE_SHUTDOWN_FN(edje));
diff --git a/src/tests/edje/meson.build b/src/tests/edje/meson.build
index 54aee4f..adfd192 100644
--- a/src/tests/edje/meson.build
+++ b/src/tests/edje/meson.build
@@ -14,7 +14,7 @@ edje_suite_src = [
14 14
15edje_suite = executable('edje_suite', 15edje_suite = executable('edje_suite',
16 edje_suite_src, themes, 16 edje_suite_src, themes,
17 dependencies: [check, eina, ecore_evas, edje], 17 dependencies: [check, eina, ecore_evas, edje, efreet],
18 include_directories : config_dir, 18 include_directories : config_dir,
19 c_args : [ 19 c_args : [
20 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', 20 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',