meson: fix tests on windows #247
|
@ -120,9 +120,11 @@ pkgconf_exe = executable('pkgconf',
|
||||||
with_tests = get_option('tests')
|
with_tests = get_option('tests')
|
||||||
kyua_exe = find_program('kyua', required : with_tests, disabler : true)
|
kyua_exe = find_program('kyua', required : with_tests, disabler : true)
|
||||||
atf_sh_exe = find_program('atf-sh', required : with_tests, disabler : true)
|
atf_sh_exe = find_program('atf-sh', required : with_tests, disabler : true)
|
||||||
kyuafile = configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
|
if kyua_exe.found() and atf_sh_exe.found()
|
||||||
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
|
kyuafile = configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
|
||||||
subdir('tests')
|
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
|
||||||
|
subdir('tests')
|
||||||
|
endif
|
||||||
|
|
||||||
install_man('man/pkgconf.1')
|
install_man('man/pkgconf.1')
|
||||||
install_man('man/pkg.m4.7')
|
install_man('man/pkg.m4.7')
|
||||||
|
|
Loading…
Reference in New Issue