nixos/test-driver: expose 'qa' attribute in passthru (#591742)

This commit is contained in:
Jacek Galowicz
2026-11-23 13:54:13 +00:00
committed by GitHub

View File

@@ -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;