pipewire/test
Barnabás Pőcze f2c878a2c1 meson.build: rework systemd related options
One issues is that the `systemd-{system,user}-service` feature options
do not anything without the `systemd` option. This makes it more
complicated to arrive at the desired build configuration since there
are 3^3 = 27 possible ways to set each of them, but if `systemd=disabled`,
then the other two are just ignored.

Secondly, the `systemd` option also influences whether or not libsystemd
will be used or not. This is not strictly necessary, since the "systemd"
and "libsystemd" pkg-config files might be split, and one might wish to
disable any kind of service file generation, but use libsystemd.

Solve the first issues by using the `systemd-{system,user}-service` options
when looking up the "systemd" dependency for generating service files. This
means that the corresponding option is in full control, no secondary options
are necessary. This means that the "systemd" dependency is looked up potentially
twice, but that should not be a significant issue since meson caches dependecy
lookups.

And solve the second issue by renaming the now unused `systemd` option to
`libsystemd` and using it solely to control whether or not libsystemd will
be used.

Furthermore, the default value of `systemd-user-service` is set to "auto" to
prevent the dependency lookup from failing on non-systemd systemd out of
the box. And the journal tests in "test-support" are extended to return "skip"
if `sd_journal_open()` returns `ENOSYS`, which is needed because "elogind"
ships the systemd pkg-config files and headers.
2025-07-18 09:46:17 +00:00
..
data json: fix high surrogate escapes 2024-05-05 15:15:54 +03:00
meson.build Fix test-loop on FreeBSD by linking to epoll-shim 2024-09-23 08:09:45 +00:00
pwtest-compat.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pwtest-implementation.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pwtest.c test: add "strict" JSON tests 2024-03-25 20:49:25 +02:00
pwtest.h *: unify config.h handling 2025-05-30 10:24:13 +00:00
test-array.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-client.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-config.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-context.c test: fix test 2023-07-19 11:35:03 +02:00
test-example.c examples: surround loop_iterate() with enter() and leave() 2025-01-20 12:00:02 +01:00
test-functional.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
test-lib.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-logger.c meson.build: rework systemd related options 2025-07-18 09:46:17 +00:00
test-loop.c keys: add and use some loop keys 2024-04-23 11:49:12 +02:00
test-map.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-properties.c Fix typos 2024-05-22 09:19:34 +02:00
test-pwtest.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-buffer.c meta: add explicit sync metadata and data type 2024-04-25 09:55:19 +02:00
test-spa-control.c ump: handle f0 .. f0 f7 .. f0 f7 .. f7 packets 2024-07-30 09:38:40 +02:00
test-spa-json.c test: format float values with . 2025-07-07 12:09:55 +02:00
test-spa-log.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-spa-node.c spa: revert peer_enum_params node event again 2024-06-20 10:22:45 +02:00
test-spa-pod.c pod: check pod alignment 2025-07-07 10:38:56 +02:00
test-spa-utils.c Fix compilation with -Werror=float-conversion 2024-06-18 12:17:56 +02:00
test-support.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-utils.c test: add two minimal tests for pw_strv_parse() 2024-04-27 15:21:05 +02:00