bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3bfb31c6fe5c999046fae094b25db6e15e99f2c1

commit 3bfb31c6fe5c999046fae094b25db6e15e99f2c1
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Mon Mar 23 21:52:05 2020 +0100

    efl_check: unset the callback here
    
    this is needed in order to not accidently overwrite stack values.
    This never showed up while running the test suite, as erroring would
    have aborted anyways. However, when we are running with CK_FORK=no, this
    may leak into another test.
    
    Reviewed-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
    Differential Revision: https://phab.enlightenment.org/D11595
---
 src/tests/efl_check.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index c66e321c97..a973250849 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -69,6 +69,7 @@
 
 
 #define EXPECT_ERROR_END \
+    eina_log_print_cb_set(NULL, NULL); \
     ck_assert_int_eq(expect_error_start, EINA_TRUE); \
     DISABLE_ABORT_ON_CRITICAL_END; \
   } while(0)

-- 


Reply via email to