nixos/all-tests: Enable readOnlyPkgs by default for runTest

Most tests are not affected by this because they use the `handleTest`
function instead.
This commit is contained in:
Robert Hensing 2023-05-07 19:25:33 +02:00
parent b0e17891f2
commit 16e3647337

View File

@ -46,7 +46,7 @@ let
inherit
(rec {
doRunTest = arg: ((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
imports = [ arg ];
imports = [ arg readOnlyPkgs ];
}).config.result;
findTests = tree:
if tree?recurseForDerivations && tree.recurseForDerivations
@ -94,7 +94,7 @@ in {
_3proxy = runTest ./3proxy.nix;
aaaaxy = runTest ./aaaaxy.nix;
acme = runTest { imports = [ ./acme.nix readOnlyPkgs ]; };
acme = runTest ./acme.nix;
adguardhome = runTest ./adguardhome.nix;
aesmd = runTestOn ["x86_64-linux"] ./aesmd.nix;
agate = runTest ./web-servers/agate.nix;