~hp/lv2lint

b9ee588bff38bcdc52859d2b2167e47feadf6a0d — Hanspeter Portner 11 months ago 95c4697
Add build-tests configure option
2 files changed, 10 insertions(+), 6 deletions(-)

M meson.build
M meson_options.txt
M meson.build => meson.build +8 -5
@@ 29,6 29,7 @@ x11_tests = get_option('x11-tests')
reuse = find_program('reuse', required : false)

version = get_option('version')
build_tests = get_option('build-tests')

prefix= get_option('prefix')
libdir= get_option('libdir')


@@ 133,9 134,11 @@ configure_file(
  install : true,
  install_dir : 'bin')

if reuse.found()
  test('REUSE', reuse, args : [
    '--root', meson.current_source_dir(),
    'lint'
  ])
if build_tests
  if reuse.found()
    test('REUSE', reuse, args : [
      '--root', meson.current_source_dir(),
      'lint'
    ])
  endif
endif

M meson_options.txt => meson_options.txt +2 -1
@@ 1,7 1,8 @@
# SPDX-FileCopyrightText: Hanspeter Portner <dev@open-music-kontrollers.ch>
# SPDX-License-Identifier: CC0-1.0

option('build-tests', type : 'boolean', value : true)
option('online-tests', type : 'feature', value : 'disabled')
option('elf-tests', type : 'feature', value : 'disabled')
option('x11-tests', type : 'feature', value : 'disabled')
option('version', type : 'string', value : '0.17.81')
option('version', type : 'string', value : '0.17.83')