From: Matthias Clasen Date: Fri, 13 Jan 2023 12:14:33 +0000 (-0500) Subject: Add a build-testsuite option X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~67^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9ad27e4371a8323f5e789529e64a3e599eaf1acf;p=gtk4.git Add a build-testsuite option This will let us run the testsuite in ci without having to build all the manual tests. --- diff --git a/meson.build b/meson.build index e1d4653884..28fb2ec0c2 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/meson_options.txt b/meson_options.txt index 18f6c134c1..5fd41258c3 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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,