Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
80b96802
Commit
80b96802
authored
Nov 27, 2018
by
Sebastian Ramacher
Browse files
Add tests build option
parent
48297a09
Changes
3
Hide whitespace changes
Inline
Side-by-side
data/meson.build
View file @
80b96802
...
...
@@ -36,7 +36,7 @@ appdata = i18n.merge_file('appdata',
po_dir: podir,
)
desktop_file_validate = find_program('desktop-file-validate', required:
false
, native: true)
desktop_file_validate = find_program('desktop-file-validate', required:
get_option('tests')
, native: true)
if desktop_file_validate.found()
test('validate-desktop',
desktop_file_validate,
...
...
@@ -44,7 +44,7 @@ if desktop_file_validate.found()
)
endif
appstream_util = find_program('appstream-util', required:
false
, native: true)
appstream_util = find_program('appstream-util', required:
get_option('tests')
, native: true)
if appstream_util.found()
test('validate-appdata',
appstream_util,
...
...
meson_options.txt
View file @
80b96802
...
...
@@ -23,3 +23,8 @@ option('manpages',
value: 'auto',
description: 'manual pages'
)
option('tests',
type: 'feature',
value: 'auto',
description: 'run tests'
)
tests/meson.build
View file @
80b96802
check = dependency('check', required:
false
)
check = dependency('check', required:
get_option('tests')
)
if check.found()
test_dependencies = [
declare_dependency(link_with: libzathura),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment