bu5hm4n pushed a commit to branch master.

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

commit cd5a15bf5c27d6092b1f36fcc065a466778120bd
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jan 29 11:07:23 2020 -0500

    tests/elm: add explicit printf for event cb assert failure
    
    efl explodes when this assert fails and presents bizarre errors which
    obscure the actual test failure, so add a more explicit message as a
    reminder to check this instead of trying to dive into insanity
    
    Differential Revision: https://phab.enlightenment.org/D11238
---
 src/tests/elementary/suite_helpers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/elementary/suite_helpers.c 
b/src/tests/elementary/suite_helpers.c
index ab4bf4ebf6..1d5e1854ea 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -598,6 +598,7 @@ event_callback_single_call_int_data(void *data, Evas_Object 
*obj EINA_UNUSED, vo
 {
    int *called = data;
 
+   if (*called) fprintf(stderr, "TEST FAILURE IN %s\n", __func__);
    ck_assert_int_eq(*called, 0);
    *called = 1;
 }

-- 


Reply via email to