mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 20:00:10 +00:00
nixos/test-driver: expose 'qa' attribute in passthru (#591742)
This commit is contained in:
@@ -73,10 +73,27 @@ buildPythonApplication {
|
||||
];
|
||||
|
||||
# containers tests require extra nix features that are not available in ofborg.
|
||||
passthru.tests = removeAttrs nixosTests.nixos-test-driver [
|
||||
"containers"
|
||||
"nspawn-interactive"
|
||||
];
|
||||
passthru = {
|
||||
tests = removeAttrs nixosTests.nixos-test-driver [
|
||||
"containers"
|
||||
"nspawn-interactive"
|
||||
];
|
||||
|
||||
# Not only test-driver specific things, but also tests verifying
|
||||
# correct integration with other components of the test-driver stack, most
|
||||
# notably virtualisation.qemu.
|
||||
# Intended to have a simple way as maintainer to verify that features didn't regress
|
||||
# without intimate knowledge which tests make use of which features.
|
||||
qa = lib.recurseIntoAttrs {
|
||||
inherit (nixosTests)
|
||||
credentials-smbios
|
||||
qemu-vm-shared-directories
|
||||
qemu-vm-external-disk-image
|
||||
;
|
||||
|
||||
nixos-test-driver = lib.recurseIntoAttrs nixosTests.nixos-test-driver;
|
||||
};
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user