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:
parent
62a42ab43e
commit
c434a11a04
15 changed files with 85 additions and 7 deletions
|
|
@ -1,5 +1,7 @@
|
|||
source common.sh
|
||||
|
||||
needLocalStore "uses some low-level store manipulations that aren’t available through the daemon"
|
||||
|
||||
clearStore
|
||||
|
||||
max=500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue