Merge branch 'optional-tests' into 'main'

build: Make tests optional

See merge request GNOME/blueprint-compiler!245
This commit is contained in:
Florian Müllner 2025-06-18 18:21:59 +02:00
commit f2198838cb
2 changed files with 4 additions and 1 deletions

View file

@ -42,4 +42,6 @@ else
install_subdir('blueprintcompiler', install_dir: py.get_install_dir())
endif
subdir('tests')
if get_option('tests')
subdir('tests')
endif

View file

@ -1 +1,2 @@
option('docs', type: 'boolean', value: false)
option('tests', type: 'boolean', value: true)