tests: Mark tests as used so they don’t get removed at link time
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Fri, 14 Apr 2017 18:48:07 +0000 (19:48 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 1 Dec 2017 16:53:53 +0000 (16:53 +0000)
commit7092090de9f0f619272e52f65decdce86bc532f9
treeb82abaa873987e942cd1f5524a9fee22da28877b
parent0f4dbe72d36106027b448c31f45975c8c503bd15
tests: Mark tests as used so they don’t get removed at link time

Without this attribute, the test macros were making Weston fail to
build with LTO enabled.

Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Tested-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
tests/weston-test-runner.h
tools/zunitc/inc/zunitc/zunitc.h