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:
parent
b60e949fb6
commit
2cd4d67109
|
@ -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));
|
||||
|
|
|
@ -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()+'"',
|
||||
|
|
Loading…
Reference in New Issue