aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/meson.build
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2024-05-12 19:49:29 +0200
committerPierre Bourdon <delroth@gmail.com>2024-05-12 23:04:21 +0200
commite9ca5c92d2b3fdda27ff194869268562c237b043 (patch)
tree657741f4dcb8179cdf0036f4f9d94f58420b8b84 /tests/functional/meson.build
parent4b35e6a75e35e0f79bdadfd5e0d44bc870dcc135 (diff)
tests: don't build test plugin shared libs on static builds
This changes the way plugins.sh is excluded to remove the need for BUILD_SHARED_LIBS along the way. Change-Id: I19fe55b4a37c49a11fffa61c8a3be7e8d1a51b4d
Diffstat (limited to 'tests/functional/meson.build')
-rw-r--r--tests/functional/meson.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index d0966a60c..1e68cfe8c 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -7,7 +7,6 @@ test_confdata = {
'sandbox_shell': busybox.found() ? busybox.full_path() : '',
'PACKAGE_VERSION': meson.project_version(),
'system': host_system,
- 'BUILD_SHARED_LIBS': '1', # XXX(Qyriad): detect this!
}
# Just configures `common/vars-and-functions.sh.in`.
@@ -180,11 +179,15 @@ functional_tests_scripts = [
'read-only-store.sh',
'nested-sandboxing.sh',
'debugger.sh',
- 'plugins.sh',
'test-libstoreconsumer.sh',
'extra-sandbox-profile.sh',
]
+# Plugin tests require shared libraries support.
+if get_option('default_library') != 'static'
+ functional_tests_scripts += ['plugins.sh']
+endif
+
# TODO(Qyriad): this will hopefully be able to be removed when we remove the autoconf+Make
# buildsystem. See the comments at the top of setup-functional-tests.py for why this is here.
meson.add_install_script(