slackware-current/source/l/accountsservice/7e9058c1edda71cd9aa457717ed8fed50cd49666.patch

33 lines
1 KiB
Diff
Raw Normal View History

From 7e9058c1edda71cd9aa457717ed8fed50cd49666 Mon Sep 17 00:00:00 2001
From: nater1983 <naterussell83@gmail.com>
Date: Sun, 25 Feb 2024 20:42:49 +0000
Subject: [PATCH] Add option to disable Unit Tests
- /meson.build
- /meson_options.txt
---
meson.build | 4 +++-
meson_options.txt | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
--- ./meson.build.orig 2023-03-27 14:27:39.000000000 -0500
+++ ./meson.build 2024-02-27 12:42:47.098937158 -0600
@@ -232,7 +232,9 @@
subdir('doc/libaccountsservice')
endif
-subdir('tests')
+if get_option('tests')
+ subdir('tests')
+endif
configure_file(
output: 'config.h',
--- ./meson_options.txt.orig 2023-03-27 14:27:39.000000000 -0500
+++ ./meson_options.txt 2024-02-27 12:43:12.139935773 -0600
@@ -13,3 +13,4 @@
option('docbook', type: 'boolean', value: false, description: 'build documentation (requires xmlto)')
option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
+option('tests', type: 'boolean', value: true, description : 'Build unit tests')