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'),
|
||||
}
|
||||
|
||||
gvnc = dependency('gvnc-1.0', required: false)
|
||||
if gvnc.found()
|
||||
qtests += {'vnc-display-test': [gvnc]}
|
||||
qtests_generic += [ 'vnc-display-test' ]
|
||||
if vnc.found()
|
||||
gvnc = dependency('gvnc-1.0', required: false)
|
||||
if gvnc.found()
|
||||
qtests += {'vnc-display-test': [gvnc]}
|
||||
qtests_generic += [ 'vnc-display-test' ]
|
||||
endif
|
||||
endif
|
||||
|
||||
if dbus_display
|
||||
|
Loading…
Reference in New Issue
Block a user