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
This commit is contained in:
Mike Blumenkrantz 2019-08-23 13:22:40 -04:00
parent b60e949fb6
commit 2cd4d67109
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,8 @@
#include "edje_suite.h"
#include "../efl_check.h"
#include <Ecore_Evas.h>
#include <Efreet.h>
#include <Ecore.h>
static const Efl_Test_Case etc[] = {
{ "Edje", edje_test_edje },
@ -68,6 +70,8 @@ main(int argc, char **argv)
#ifdef NEED_RUN_IN_TREE
putenv("EFL_RUN_IN_TREE=1");
#endif
ecore_app_no_system_modules();
efreet_cache_disable();
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
"Edje", etc, SUITE_INIT_FN(edje), SUITE_SHUTDOWN_FN(edje));

View File

@ -14,7 +14,7 @@ edje_suite_src = [
edje_suite = executable('edje_suite',
edje_suite_src, themes,
dependencies: [check, eina, ecore_evas, edje],
dependencies: [check, eina, ecore_evas, edje, efreet],
include_directories : config_dir,
c_args : [
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',