discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=82b6a248cec3c28dbcad94c1cb0246edfb75af35

commit 82b6a248cec3c28dbcad94c1cb0246edfb75af35
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Aug 16 10:16:43 2018 -0400

    tests/eio: disable efreet cache for eio tests
    
    Summary:
    having this enabled slows down test execution by a significant amount
    for some reason
    
    Reviewers: bu5hm4n
    
    Reviewed By: bu5hm4n
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl_tests
    
    Differential Revision: https://phab.enlightenment.org/D6836
---
 src/Makefile_Eio.am       | 8 ++++++--
 src/tests/eio/eio_suite.c | 2 ++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/Makefile_Eio.am b/src/Makefile_Eio.am
index 6778ad48f7..81a105441d 100644
--- a/src/Makefile_Eio.am
+++ b/src/Makefile_Eio.am
@@ -94,15 +94,19 @@ tests_eio_eio_suite_CPPFLAGS = 
-I$(top_builddir)/src/lib/efl \
 -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eio\" \
 @CHECK_CFLAGS@ \
 @ECORE_FILE_CFLAGS@ \
-@EIO_CFLAGS@ @EFL_CFLAGS@
+@EIO_CFLAGS@ \
+@EFREET_CFLAGS@ \
+@EFL_CFLAGS@
 
 tests_eio_eio_suite_LDADD = \
 @CHECK_LIBS@ \
 @USE_EIO_LIBS@ \
 @USE_ECORE_FILE_LIBS@ \
+@USE_EFREET_LIBS@ \
 @USE_EFL_LIBS@
 
 tests_eio_eio_suite_DEPENDENCIES = \
-@USE_EIO_INTERNAL_LIBS@
+@USE_EIO_INTERNAL_LIBS@ \
+@USE_EFREET_INTERNAL_LIBS@
 
 endif
diff --git a/src/tests/eio/eio_suite.c b/src/tests/eio/eio_suite.c
index 5b59c5c4dc..9998e1fac4 100644
--- a/src/tests/eio/eio_suite.c
+++ b/src/tests/eio/eio_suite.c
@@ -7,6 +7,7 @@
 #include "eio_suite.h"
 #include "../efl_check.h"
 #include <Eio.h>
+#include <Efreet.h>
 
 EFL_START_TEST(eio_init_test)
 EFL_END_TEST
@@ -49,6 +50,7 @@ main(int argc, char **argv)
 {
    int failed_count;
 
+   efreet_cache_disable();
    if (!_efl_test_option_disp(argc, argv, etc))
      return 0;
 

-- 


Reply via email to