1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-14 04:51:05 +01:00

Allow running all the tests with the daemon

When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon.
That way we can test every piece of Nix functionality both with and
without the daemon.

Tests for which using the daemon isn’t possible or doesn’t make sens can
selectively be disabled with `needLocalStore`

(cherry picked from commit addacfce4a)
This commit is contained in:
regnat 2021-07-26 06:54:55 +02:00 committed by John Ericson
parent 62a42ab43e
commit c434a11a04
15 changed files with 85 additions and 7 deletions

View file

@ -1,5 +1,7 @@
source common.sh
needLocalStore "uses some low-level store manipulations that arent available through the daemon"
clearStore
max=500