meson: add kyua integration for testsuite for now
parent
a928ad75e6
commit
3ae11b1b4d
|
@ -85,7 +85,10 @@ pkgconf_exe = executable('pkgconf',
|
||||||
|
|
||||||
kyua_exe = find_program('kyua')
|
kyua_exe = find_program('kyua')
|
||||||
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile=' + join_paths(meson.build_root(), 'Kyuafile'), '--build-root=' + meson.build_root()])
|
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile=' + join_paths(meson.build_root(), 'Kyuafile'), '--build-root=' + meson.build_root()])
|
||||||
|
|
||||||
|
|
||||||
configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
|
configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
|
||||||
|
subdir('tests')
|
||||||
|
|
||||||
|
|
||||||
install_man('pkgconf.1')
|
install_man('pkgconf.1')
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
configure_file(input: 'Kyuafile.in', output: 'Kyuafile', configuration: cdata)
|
||||||
|
configure_file(input: 'test_env.sh.in', output: 'test_env.sh', configuration: cdata)
|
||||||
|
|
||||||
|
|
||||||
|
tests = [
|
||||||
|
'basic',
|
||||||
|
'builtins',
|
||||||
|
'conflicts',
|
||||||
|
'framework',
|
||||||
|
'parser',
|
||||||
|
'provides',
|
||||||
|
'regress',
|
||||||
|
'requires',
|
||||||
|
'sysroot',
|
||||||
|
'version'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# yuck
|
||||||
|
foreach test : tests
|
||||||
|
configure_file(input: test + '.sh', output: test, configuration: configuration_data())
|
||||||
|
run_command('chmod', '755', join_paths(meson.build_root(), 'tests', test))
|
||||||
|
endforeach
|
Loading…
Reference in New Issue