Compare commits

...

2 Commits

Author SHA1 Message Date
Marcel Hollerbach 72bcc1924c enable release build 2020-07-28 09:35:36 +02:00
Marcel Hollerbach efad79ab4b tests: fix eio tests
there are tests that init & shutdown efl_object in the same test, which
is since to switch to const _CLASS_GET dangerously wrong.

I checked for more cases but only found cases where no _CLASS_GET
macros where used.

Differential Revision: https://phab.enlightenment.org/D12069
2020-07-28 09:32:14 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,6 @@ jobs:
- os: linux
env: DISTRO=Fedora32 CI_BUILD_TYPE=default
- os: linux
if: type = cron
env: DISTRO=Fedora32 CI_BUILD_TYPE=release-ready
- os: linux
if: type = cron

View File

@ -323,6 +323,8 @@ EFL_START_TEST(efl_io_test_instantiated)
{
Efl_Io_Manager *manager;
efl_object_init();
ck_assert_int_eq(eio_shutdown(), 0);
ecore_init();
fail_if(efl_provider_find(efl_main_loop_get(), EFL_IO_MANAGER_CLASS) != NULL);
@ -332,6 +334,8 @@ EFL_START_TEST(efl_io_test_instantiated)
manager = efl_provider_find(efl_main_loop_get(), EFL_IO_MANAGER_CLASS);
fail_if(manager == NULL);
fail_if(!efl_isa(manager, EFL_IO_MANAGER_CLASS));
efl_object_shutdown();
}
EFL_END_TEST