2018-02-14 04:03:20 +00:00
|
|
|
# run installed tests
|
|
|
|
import ./make-test.nix ({ pkgs, ... }: {
|
|
|
|
name = "fwupd";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = pkgs.fwupd.meta.maintainers;
|
|
|
|
};
|
|
|
|
|
2018-07-20 21:56:59 +01:00
|
|
|
machine = { pkgs, ... }: {
|
2018-02-14 04:03:20 +00:00
|
|
|
services.fwupd.enable = true;
|
2019-01-04 22:35:47 +00:00
|
|
|
services.fwupd.blacklistPlugins = []; # don't blacklist test plugin
|
2019-01-27 23:15:00 +00:00
|
|
|
services.fwupd.enableTestRemote = true;
|
2018-02-14 04:03:20 +00:00
|
|
|
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
|
|
|
|
environment.variables.XDG_DATA_DIRS = [ "${pkgs.fwupd.installedTests}/share" ];
|
|
|
|
virtualisation.memorySize = 768;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
$machine->succeed("gnome-desktop-testing-runner");
|
|
|
|
'';
|
|
|
|
})
|