lix/src
Qyriad 038daad218 meson: implement functional tests
Functional tests can be run with
`meson test -C build --suite installcheck`.

Notably, functional tests must be run *after* running `meson install`
(Lix's derivation runs the installcheck suite in installCheckPhase so it
does this correctly), due to some quirks between Meson and the testing
system.

As far as I can tell the functional tests are meant to be run after
installing anyway, but unfortunately I can't transparently make
`meson test --suite installcheck` depend on the install targets.

The script that runs the functional tests, meson/run-test.py, checks
that `meson install` has happened and fails fast with a (hopefully)
helpful error message if any of the functional tests are run before
installing.

TODO: this change needs reflection in developer documentation

Change-Id: I8dcb5fdfc0b6cb17580973d24ad930abd57018f6
2024-03-27 18:37:50 -06:00
..
build-remote build-remote: fix format string shenanigans 2024-03-26 07:58:24 +00:00
libcmd Merge pull request #8817 from iFreilicht/flake-update-lock-overhaul 2024-03-25 17:36:24 -06:00
libexpr HOT SALE: 15% off your build times! 2024-03-27 03:52:57 +00:00
libfetchers Merge pull request #8817 from iFreilicht/flake-update-lock-overhaul 2024-03-25 17:36:24 -06:00
libmain Merge "libmain: version printer uses Lix instead of Nix" into main 2024-03-26 16:06:15 +00:00
libstore HOT SALE: 15% off your build times! 2024-03-27 03:52:57 +00:00
libutil HOT SALE: 15% off your build times! 2024-03-27 03:52:57 +00:00
nix HOT SALE: 15% off your build times! 2024-03-27 03:52:57 +00:00
nix-build Delete hasPrefix and hasSuffix from the codebase 2024-03-17 20:17:19 -07:00
nix-channel meson: implement functional tests 2024-03-27 18:37:50 -06:00
nix-collect-garbage util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env Delete hasPrefix and hasSuffix from the codebase 2024-03-17 20:17:19 -07:00
nix-instantiate Unify and refactor value printing 2024-03-09 03:50:06 +01:00
nix-store libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
resolve-system-dependencies libutil: make AutoCloseFD a better resource 2024-03-18 15:42:52 -06:00
toml11 build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00