forked from enlightenment/efl
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
This commit is contained in:
parent
7d89ddc67d
commit
3bfb31c6fe
|
@ -69,6 +69,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define EXPECT_ERROR_END \
|
#define EXPECT_ERROR_END \
|
||||||
|
eina_log_print_cb_set(NULL, NULL); \
|
||||||
ck_assert_int_eq(expect_error_start, EINA_TRUE); \
|
ck_assert_int_eq(expect_error_start, EINA_TRUE); \
|
||||||
DISABLE_ABORT_ON_CRITICAL_END; \
|
DISABLE_ABORT_ON_CRITICAL_END; \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
Loading…
Reference in New Issue