tests: preserve ivi runner section

Everywhere else where use this trick, we also have 'used' in the
attributes, except here. Make this consistent.

Fixes: https://gitlab.freedesktop.org/wayland/weston/-/issues/517

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
(cherry picked from commit 5ba7ae2937)
dev
Pekka Paalanen 3 years ago committed by Marius Vlad
parent d8a7099931
commit e945f1e4e7
  1. 2
      tests/ivi-layout-test-plugin.c

@ -53,7 +53,7 @@ struct runner_test {
static void runner_func_##name(struct test_context *); \
\
const struct runner_test runner_test_##name \
__attribute__ ((section ("plugin_test_section"))) = \
__attribute__ ((used, section ("plugin_test_section"))) = \
{ \
#name, runner_func_##name \
}; \

Loading…
Cancel
Save