X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=meson.build;h=660aa62331b1f3320c36e49431d6b1d638436865;hp=49e10dc0493994484f9ac83b13677f26b9f2e82f;hb=ab3321550c3a42c77e291bc503625e2fd093f25b;hpb=e4f3987a883afb14e1917ecc2442889fa09fbdfd diff --git a/meson.build b/meson.build index 49e10dc0..660aa623 100644 --- a/meson.build +++ b/meson.build @@ -632,5 +632,11 @@ i18n.merge_file( configure_file(input: 'geeqie.spec.in', output: 'geeqie.spec', configuration: conf_data) # Basic test of the executable -xvfb = find_program('xvfb-run') -test('Basic test', xvfb, args: ['--auto-servernum', geeqie_exe, '--version'], timeout: 100) +xvfb = find_program('xvfb-run', required : false) +if xvfb.found() + test('Basic test', xvfb, args: ['--auto-servernum', geeqie_exe, '--version'], timeout: 100) + summary({'xvfb' : ['Test runs:', true]}, section : 'Debugging', bool_yn : true) +else + summary({'xvfb' : ['Test runs:', false]}, section : 'Debugging', bool_yn : true) + +endif