Merge pull request #164067 from lovesegfault/fix-virt-manager

virt-manager: fix filtered tests
This commit is contained in:
Bernardo Meurer 2022-03-13 21:07:49 -07:00 committed by GitHub
commit 57d2ba462f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ lib, fetchFromGitHub, python3, intltool, file, wrapGAppsHook, gtk-vnc { lib, fetchFromGitHub, python3, intltool, file, wrapGAppsHook, gtk-vnc
, vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt , vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt
, gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio , gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio
, e2fsprogs, findutils, gzip, cdrtools , e2fsprogs, findutils, gzip, cdrtools, xorriso
, spiceSupport ? true, spice-gtk ? null , spiceSupport ? true, spice-gtk ? null
}: }:
@ -58,11 +58,16 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
''; '';
checkInputs = with python3.pkgs; [ cpio cdrtools pytestCheckHook ]; checkInputs = with python3.pkgs; [
pytestCheckHook
cpio
cdrtools
xorriso
];
disabledTestPaths = [ disabledTests = [
"tests/test_misc.py" "testCLI0001virt_install_many_devices"
"tests/test_xmlparse.py" "test_disk_dir_searchable"
]; ];
preCheck = '' preCheck = ''