From 9ad27e4371a8323f5e789529e64a3e599eaf1acf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 Jan 2023 07:14:33 -0500 Subject: [PATCH] Add a build-testsuite option This will let us run the testsuite in ci without having to build all the manual tests. --- meson.build | 2 ++ meson_options.txt | 5 +++++ 2 files changed, 7 insertions(+) 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, -- 2.30.2