umu-launcher-unwrapped: add a check phase

This commit is contained in:
Matt Sturgeon
2025-02-17 09:36:05 +00:00
parent 30d987abf8
commit 28d75e82ba
@@ -7,6 +7,7 @@
python3Packages,
rustPlatform,
scdoc,
writableTmpDirAsHomeHook,
withTruststore ? true,
withDeltaUpdates ? true,
}:
@@ -26,6 +27,11 @@ python3Packages.buildPythonPackage rec {
hash = "sha256-nU4xZn9NPd7NgexiaNYLdo4BCbH98duZ07XYeUiceP0=";
};
nativeCheckInputs = [
writableTmpDirAsHomeHook
python3Packages.pytestCheckHook
];
nativeBuildInputs = [
cargo
hatch
@@ -66,6 +72,17 @@ python3Packages.buildPythonPackage rec {
"SHELL_INTERPRETER=${lib.getExe bash}"
];
disabledTests = [
# Broken? Asserts that $STEAM_RUNTIME_LIBRARY_PATH is non-empty
# Fails with AssertionError: '' is not true : Expected two elements in STEAM_RUNTIME_LIBRARY_PATHS
"test_game_drive_empty"
"test_game_drive_libpath_empty"
# Broken? Tests parse_args with no options (./umu_run.py)
# Fails with AssertionError: SystemExit not raised
"test_parse_args_noopts"
];
meta = {
description = "Unified launcher for Windows games on Linux using the Steam Linux Runtime and Tools";
changelog = "https://github.com/Open-Wine-Components/umu-launcher/releases/tag/${version}";