Add a build-testsuite option

This will let us run the testsuite in ci without
having to build all the manual tests.
This commit is contained in:
Matthias Clasen 2023-01-13 07:14:33 -05:00
parent 434d8ef0ea
commit 9ad27e4371
2 changed files with 7 additions and 0 deletions

View File

@ -747,6 +747,8 @@ endif
subdir('tools')
if get_option('build-tests')
subdir('tests')
endif
if get_option('build-testsuite')
subdir('testsuite')
endif
if get_option('build-examples')

View File

@ -114,6 +114,11 @@ option('profile',
value: 'default',
description : 'Profile to use for demos')
option('build-testsuite',
type: 'boolean',
value: true,
description : 'Build testsuite')
option('build-examples',
type: 'boolean',
value: true,