X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=meson.build;h=7b941d0c0c884718d5ce1da6fb8fcd58abf24f87;hb=c23c6bb99615658600376a5f88cd646d986638a4;hp=6a79093cb0822ba933d47e7663901e56b969e981;hpb=37fdd87c82da02325061129618cc088a8311a8e0;p=platform%2Fupstream%2Flibxkbcommon.git diff --git a/meson.build b/meson.build index 6a79093..7b941d0 100644 --- a/meson.build +++ b/meson.build @@ -573,9 +573,11 @@ test_dep = declare_dependency( link_with: libxkbcommon_test_internal, ) if get_option('enable-x11') - libxkbcommon_x11_internal = static_library( + libxkbcommon_x11_test_internal = static_library( 'xkbcommon-x11-internal', libxkbcommon_x11_sources, + 'test/xvfb-wrapper.c', + 'test/xvfb-wrapper.h', include_directories: include_directories('src', 'include'), link_with: libxkbcommon_test_internal, dependencies: [ @@ -584,7 +586,7 @@ if get_option('enable-x11') ], ) x11_test_dep = declare_dependency( - link_with: libxkbcommon_x11_internal, + link_with: libxkbcommon_x11_test_internal, dependencies: [ test_dep, xcb_dep, @@ -689,9 +691,11 @@ if get_option('enable-x11') executable('test-x11', 'test/x11.c', dependencies: x11_test_dep), env: test_env, ) - # test/x11comp is meant to be run, but it is (temporarily?) disabled. - # See: https://github.com/xkbcommon/libxkbcommon/issues/30 - executable('test-x11comp', 'test/x11comp.c', dependencies: x11_test_dep) + test( + 'x11comp', + executable('test-x11comp', 'test/x11comp.c', dependencies: x11_test_dep), + env: test_env, + ) endif if get_option('enable-xkbregistry') test(