]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: Document how to run the unit tests in HACKING.md
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 09:31:02 +0000 (10:31 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 09:31:19 +0000 (10:31 +0100)
docs/HACKING.md

index fab5ae07b979c73bf2f4731569179ad145a25f22..431c1eb4af80dedb5a7f1b5fd383b3803a3c1216 100644 (file)
@@ -36,12 +36,13 @@ or via your distribution's package manager. Note that systemd regularly adopts
 newer mkosi features that are not in an official release yet so there's a good
 chance that your distribution's packaged version of mkosi will be too old.
 
-Then, you can build and run systemd executables as follows:
+Then, you can build, run and test systemd executables as follows:
 
 ```sh
 $ mkosi -f sandbox -- meson setup build
 $ mkosi -f sandbox -- meson compile -C build
 $ mkosi -f sandbox -- build/systemctl --version
+$ mkosi -f sandbox -- meson test -C build          # Run the unit tests
 ```
 
 To build and boot an OS image with the latest systemd installed: