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
This commit is contained in:
Mike Blumenkrantz 2020-01-29 11:07:23 -05:00 committed by Marcel Hollerbach
parent 6cc4fee1a4
commit cd5a15bf5c
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}