python312Packages.linien-common: fix test

This commit is contained in:
natsukium 2024-09-12 22:56:33 +09:00
parent ba8a16ff20
commit 4c44f40ceb
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -1,26 +1,45 @@
{
buildPythonPackage,
linien-common,
cma,
linien-client,
linien-common,
matplotlib,
migen,
misoc,
pytest-plt,
pytestCheckHook,
}:
buildPythonPackage {
pname = "linien-tests";
inherit (linien-common) version src;
format = "other";
pyproject = false;
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
linien-common
cma
linien-client
linien-common
matplotlib
migen
misoc
pytest-plt
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths = [
# require linien-server which is not packaged
"tests/test_algorithm_selection.py"
"tests/test_approacher.py"
"tests/test_optimizer_engines.py"
"tests/test_optimizer_utils.py"
"tests/test_robust_autolock.py"
"tests/test_simple_autolock_cpu.py"
];
}