diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-01-29 11:07:23 -0500 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-02-05 10:10:51 +0100 |
commit | cd5a15bf5c27d6092b1f36fcc065a466778120bd (patch) | |
tree | 62dfa1bc9969d2d5b538630f908219ff27651171 | |
parent | 6cc4fee1a449edb259b9a9f05b407f020773e703 (diff) | |
download | efl-cd5a15bf5c27d6092b1f36fcc065a466778120bd.tar.gz |
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
-rw-r--r-- | src/tests/elementary/suite_helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |