2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
2024-09-19 14:19:46 +00:00
|
|
|
cma,
|
2024-06-05 15:53:02 +00:00
|
|
|
linien-client,
|
2024-09-19 14:19:46 +00:00
|
|
|
linien-common,
|
|
|
|
matplotlib,
|
|
|
|
migen,
|
|
|
|
misoc,
|
|
|
|
pytest-plt,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestCheckHook,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "linien-tests";
|
|
|
|
inherit (linien-common) version src;
|
|
|
|
pyproject = false;
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
dontInstall = true;
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
2024-09-19 14:19:46 +00:00
|
|
|
cma
|
2024-01-02 11:29:13 +00:00
|
|
|
linien-client
|
2024-09-19 14:19:46 +00:00
|
|
|
linien-common
|
|
|
|
matplotlib
|
|
|
|
migen
|
|
|
|
misoc
|
|
|
|
pytest-plt
|
2024-01-02 11:29:13 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
2024-09-19 14:19:46 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
2024-01-02 11:29:13 +00:00
|
|
|
}
|