forked from enlightenment/efl
check: Bump version to 0.9.10 and change macro
Changing ck_assert_ptr_nonnull() to ck_assert_ptr_ne() in order to require "only" check >= 0.9.10. ck_assert_ptr_nonnull() was introduced in 0.11.0. ck_assert_ptr_ne() is already used a lot in the test suite so a recent version of check is required.
This commit is contained in:
parent
fa944c700e
commit
bc38a4c639
|
@ -380,7 +380,7 @@ AM_CONDITIONAL([EFL_ENABLE_COVERAGE], [test "${want_coverage}" = "yes"])
|
||||||
# check unit testing library
|
# check unit testing library
|
||||||
|
|
||||||
if test "${want_tests}" = "yes"; then
|
if test "${want_tests}" = "yes"; then
|
||||||
PKG_CHECK_MODULES([CHECK], [check >= 0.9.5])
|
PKG_CHECK_MODULES([CHECK], [check >= 0.9.10])
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([EFL_ENABLE_TESTS], [test "${want_tests}" = "yes"])
|
AM_CONDITIONAL([EFL_ENABLE_TESTS], [test "${want_tests}" = "yes"])
|
||||||
|
|
||||||
|
|
|
@ -734,7 +734,7 @@ _message_signal_reply_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
fprintf(stderr, "source %s emit %s id %d\n", source, emission, *id);
|
fprintf(stderr, "source %s emit %s id %d\n", source, emission, *id);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
ck_assert_str_eq(source, "edc");
|
ck_assert_str_eq(source, "edc");
|
||||||
ck_assert_ptr_nonnull(emission);
|
ck_assert_ptr_ne(emission, NULL);
|
||||||
|
|
||||||
if (!strncmp(emission, "int set", 7))
|
if (!strncmp(emission, "int set", 7))
|
||||||
ck_assert_str_eq(emission, "int set 7 12 42 255");
|
ck_assert_str_eq(emission, "int set 7 12 42 255");
|
||||||
|
|
Loading…
Reference in New Issue