Merge pull request #123802 from superherointj/package-virtmanager-bugfix
virt-manager: add tests
This commit is contained in:
commit
2b5910ac63
@ -5,6 +5,7 @@
|
|||||||
, gtksourceview4, docutils
|
, gtksourceview4, docutils
|
||||||
, spiceSupport ? true, spice-gtk ? null
|
, spiceSupport ? true, spice-gtk ? null
|
||||||
, cpio, e2fsprogs, findutils, gzip
|
, cpio, e2fsprogs, findutils, gzip
|
||||||
|
, cdrtools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -53,8 +54,21 @@ python3Packages.buildPythonApplication rec {
|
|||||||
gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
|
gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Failed tests
|
checkInputs = with python3Packages; [ cpio cdrtools pytestCheckHook ];
|
||||||
doCheck = false;
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
"tests/test_cli.py"
|
||||||
|
"tests/test_disk.py"
|
||||||
|
"tests/test_checkprops.py"
|
||||||
|
]; # Error logs: https://gist.github.com/superherointj/fee040872beaafaaa19b8bf8f3ff0be5
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=.
|
||||||
|
''; # <- Required for "tests/test_urldetect.py".
|
||||||
|
|
||||||
|
postCheck = ''
|
||||||
|
$out/bin/virt-manager --version | grep -Fw ${version} > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://virt-manager.org";
|
homepage = "http://virt-manager.org";
|
||||||
|
Loading…
Reference in New Issue
Block a user