forked from ariadne/pkgconf
Compare commits
3 Commits
pkgconf-1.
...
master
Author | SHA1 | Date |
---|---|---|
Ariadne Conill | 0226cdda6d | |
Dylan Baker | fa803c7ecd | |
Ariadne Conill | bddf1641f8 |
|
@ -356,6 +356,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
out:
|
||||
pkgconf_solution_free(&pkg_client, &world);
|
||||
pkgconf_queue_free(&pkgq);
|
||||
pkgconf_cross_personality_deinit(personality);
|
||||
pkgconf_client_deinit(&pkg_client);
|
||||
|
|
15
meson.build
15
meson.build
|
@ -1,7 +1,7 @@
|
|||
project('pkgconf', 'c',
|
||||
version : '1.9.3',
|
||||
license : 'ISC',
|
||||
meson_version : '>=0.47',
|
||||
meson_version : '>=0.49',
|
||||
default_options : ['c_std=c99'],
|
||||
)
|
||||
|
||||
|
@ -117,13 +117,12 @@ pkgconf_exe = executable('pkgconf',
|
|||
c_args: build_static,
|
||||
install : true)
|
||||
|
||||
if get_option('tests')
|
||||
kyua_exe = find_program('kyua')
|
||||
atf_sh_exe = find_program('atf-sh')
|
||||
kyuafile = configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
|
||||
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
|
||||
subdir('tests')
|
||||
endif
|
||||
with_tests = get_option('tests')
|
||||
kyua_exe = find_program('kyua', 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)
|
||||
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
|
||||
subdir('tests')
|
||||
|
||||
install_man('man/pkgconf.1')
|
||||
install_man('man/pkg.m4.7')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
option('tests', type: 'boolean', value: true,
|
||||
description: 'Build tests which depends upon the kyua framework'
|
||||
)
|
||||
option(
|
||||
'tests',
|
||||
type: 'feature',
|
||||
description: 'Build tests which depends upon the kyua framework',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue