mirror of https://github.com/xemu-project/xemu.git
test: Check vnc enable before compiling vnc test
Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20230301104450.1017-1-quintela@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
243ec1c284
commit
4d1bc58de7
|
@ -309,10 +309,12 @@ qtests = {
|
||||||
'netdev-socket': files('netdev-socket.c', '../unit/socket-helpers.c'),
|
'netdev-socket': files('netdev-socket.c', '../unit/socket-helpers.c'),
|
||||||
}
|
}
|
||||||
|
|
||||||
gvnc = dependency('gvnc-1.0', required: false)
|
if vnc.found()
|
||||||
if gvnc.found()
|
gvnc = dependency('gvnc-1.0', required: false)
|
||||||
qtests += {'vnc-display-test': [gvnc]}
|
if gvnc.found()
|
||||||
qtests_generic += [ 'vnc-display-test' ]
|
qtests += {'vnc-display-test': [gvnc]}
|
||||||
|
qtests_generic += [ 'vnc-display-test' ]
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if dbus_display
|
if dbus_display
|
||||||
|
|
Loading…
Reference in New Issue