nixosTests.binary-cache{no-compression,xz}: migrate to runTest
Part of #386873
This commit is contained in:
parent
a6a9f5f195
commit
fab4accced
@ -231,9 +231,18 @@ in
|
||||
beanstalkd = handleTest ./beanstalkd.nix { };
|
||||
bees = handleTest ./bees.nix { };
|
||||
benchexec = handleTest ./benchexec.nix { };
|
||||
binary-cache = handleTest ./binary-cache.nix { compression = "zstd"; };
|
||||
binary-cache-no-compression = handleTest ./binary-cache.nix { compression = "none"; };
|
||||
binary-cache-xz = handleTest ./binary-cache.nix { compression = "xz"; };
|
||||
binary-cache = runTest {
|
||||
imports = [ ./binary-cache.nix ];
|
||||
_module.args.compression = "zstd";
|
||||
};
|
||||
binary-cache-no-compression = runTest {
|
||||
imports = [ ./binary-cache.nix ];
|
||||
_module.args.compression = "none";
|
||||
};
|
||||
binary-cache-xz = runTest {
|
||||
imports = [ ./binary-cache.nix ];
|
||||
_module.args.compression = "xz";
|
||||
};
|
||||
bind = handleTest ./bind.nix { };
|
||||
bird = handleTest ./bird.nix { };
|
||||
birdwatcher = handleTest ./birdwatcher.nix { };
|
||||
|
@ -1,9 +1,5 @@
|
||||
{ compression, ... }@args:
|
||||
|
||||
import ./make-test-python.nix (
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
{ lib, compression, ... }:
|
||||
{
|
||||
name = "binary-cache-" + compression;
|
||||
meta.maintainers = with lib.maintainers; [ thomasjm ];
|
||||
|
||||
@ -84,5 +80,4 @@ import ./make-test-python.nix (
|
||||
# Store path should exist in the store now
|
||||
machine.succeed("[ -d %s ] || exit 1" % storePath)
|
||||
'';
|
||||
}
|
||||
) args
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user