]> git.proxmox.com Git - mirror_qemu.git/commit - configure
tests: disable global props test for old glib
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Sep 2014 17:46:45 +0000 (20:46 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Sep 2014 18:50:30 +0000 (21:50 +0300)
commit9d41401b90fa10b335d2e739149d36437cfbf622
tree1ff61932d7b8a5798eed4536406d041099a8f99c
parent70e98b230fa58d7da22bd6c45b206fc58e9908c2
tests: disable global props test for old glib

follow-up patch moves global property tests to subprocesses.
Unfortunately with old glib this causes:

tests/test-qdev-global-props.c: In function
‘test_static_prop’:
tests/test-qdev-global-props.c:80:5: error: implicit
declaration of function ‘g_test_trap_subprocess’
[-Werror=implicit-function-declaration]
tests/test-qdev-global-props.c:80:5: error: nested extern
declaration of ‘g_test_trap_subprocess’ [-Werror=nested-externs]

This function was only added in glib 2.38, and our
minimum version is 2.12.

To fix, disable the test for glib < 2.38.

Apply before that patch to avoid breaking bisect.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
configure
tests/Makefile