Page MenuHomePhabricator

eo_test_general.c: Make eo_signals tests pass on Windows
ClosedPublic

Authored by walac on Jul 6 2020, 1:17 PM.

Details

Summary

EFL_CALLBACKS_ARRAY_DEFINE reorders the callbacks according to
efl_callbacks_cmp. efl_callbacks_cmp compares the address of the desc
field, which depends on the memory layout generated by the linker.

To make the test run deterministically, we define the array of callbacks
manually.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
walac created this revision.Jul 6 2020, 1:17 PM
walac requested review of this revision.Jul 6 2020, 1:17 PM
walac updated this revision to Diff 31235.Nov 4 2020, 9:53 AM

Fix typos in the comments

raster accepted this revision.Nov 4 2020, 10:25 AM
This revision is now accepted and ready to land.Nov 4 2020, 10:25 AM
This revision was automatically updated to reflect the committed changes.