lix/tests/functional/ca
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-cache.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
build-dry.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
build-with-garbage-path.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
build.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
common.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
concurrent-builds.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
config.nix.in Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
content-addressed.nix Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
derivation-json.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
duplicate-realisation-in-closure.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
eval-store.sh Merge pull request #9589 from obsidiansystems/floating-content-addressing-derivations-eval-store 2024-03-04 07:15:08 +01:00
flake.nix Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
gc.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
import-derivation.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
local.mk Merge pull request #9589 from obsidiansystems/floating-content-addressing-derivations-eval-store 2024-03-04 07:15:08 +01:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00
new-build-cmd.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
nix-copy.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
nix-run.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
nix-shell.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
nondeterministic.nix Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
post-hook.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
racy.nix Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
recursive.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
repl.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
selfref-gc.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
signatures.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
substitute.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
why-depends.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00