1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-28 02:50:16 +03:00
Daan De Meyer d9f48358bd test: Make it possible to run the integration tests standalone
Currently, to run the integration tests, it's still necessary to
install various other build tools besides meson: A compiler, gperf,
libcap, ... which we want to avoid in CI systems where we receive
prebuilt systemd packages and only want to test them. Examples are
Debian's autopkgtest CI and Fedora CI. Let's make it possible for
these systems to run the integration tests without having to install
any other build dependency besides meson by extracting the logic
required to run the integration tests with meson into a separate
subdirectory and adding a standalone top-level meson.build file which
can be used to configure a meson tree with as its only purpose running
the integration tests.

Practically, we do the following:
- all the integration test directories and integration-test-wrapper.py
  are moved from test/ to test/integration-test/.
- All the installation logic is kept out of test/integration-test/ or
  any of its subdirectories and moved into test/meson.build instead.
- We add test/integration-test/standalone/meson.build to run the
  integration tests standalone. This meson file includes
  test/integration-test via a cute symlink hack to trick meson into
  including a parent directory with subdir().
- Documentation is included on how to use the new standalone mode.
- TEST-64-UDEV-STORAGE and TEST-85-NETWORK are changed to generate separate
  units for each testcase to make them behave more like the other integration
  tests.
2025-03-27 21:37:13 +01:00
..
2025-02-17 19:49:32 +00:00
2019-12-11 17:04:20 +01:00
2024-03-27 07:11:54 +01:00
2024-03-27 07:11:55 +01:00
2025-01-17 19:46:37 +00:00
2024-12-28 12:24:42 +09:00
2024-10-17 00:49:59 +09:00
2019-12-11 17:04:20 +01:00
2025-02-27 15:03:17 +01:00
2025-01-14 15:19:56 +01:00
2024-03-27 07:12:00 +01:00
2024-03-27 07:12:01 +01:00
2024-03-27 07:12:01 +01:00
2024-03-27 07:12:04 +01:00
2024-03-15 04:04:01 +09:00