elm: Add hack to make test case work
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 23 Nov 2017 06:20:00 +0000 (15:20 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 23 Nov 2017 06:45:49 +0000 (15:45 +0900)
commitb798005e809e6fcd3fc807e57042861d1019b71d
treed2f01e00426cd2506bedbbd2cada37b973aee0bc
parentd49c544e81c0d4da6d4c585b4033f9c5c6785bb4
elm: Add hack to make test case work

Because of the way elm_code test case is written, by directly including
the C file, we end up with two symbols for the internal _elm_legacy_add
flag. This makes some test case fail (after applying a pending patch).

Solution found by Sungtaek Hong.

elm_code test case needs to be fixed. Don't include the C files
directly, testing static inlines should be done through a common .x or
something, but not by including the C file itself. This has led and will
lead to many issues.
src/lib/elementary/elm_code_widget.c
src/lib/elementary/elm_widget.h