lix-releng-staging/scripts
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
..
local.mk Restore system-install profile files from the previous installer 2024-03-25 04:17:14 +00:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00
nix-profile-daemon.fish.in Restore system-install profile files from the previous installer 2024-03-25 04:17:14 +00:00
nix-profile-daemon.sh.in Restore system-install profile files from the previous installer 2024-03-25 04:17:14 +00:00
nix-profile.fish.in Update scripts/nix-profile-daemon.fish.in 2024-03-04 05:46:35 +01:00
nix-profile.sh.in Merge pull request #9425 from iFreilicht/fix-unbound-variable-errors 2024-03-04 05:59:32 +01:00