Add a build-testsuite option
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Jan 2023 12:14:33 +0000 (07:14 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 13 Jan 2023 12:14:33 +0000 (07:14 -0500)
This will let us run the testsuite in ci without
having to build all the manual tests.

meson.build
meson_options.txt

index e1d46538846f89755db24531b8d13b070bbf6f50..28fb2ec0c2669a8f8a110ccf60a6017c2e888ebe 100644 (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')
index 18f6c134c119a4278d97139f1888898a1c84d502..5fd41258c3349f80655034753768dae1d2df5b1f 100644 (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,