summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-23 21:52:05 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-25 22:13:22 +0100
commit3bfb31c6fe5c999046fae094b25db6e15e99f2c1 (patch)
treeeb16d1e169a7c9b90ca43c0b754a621eafc20918
parent7d89ddc67dbf317af4f89a6353f8e559de389fcf (diff)
downloadefl-3bfb31c6fe5c999046fae094b25db6e15e99f2c1.tar.gz
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.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11595
-rw-r--r--src/tests/efl_check.h1
1 files changed, 1 insertions, 0 deletions
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)