159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
45 lines
783 B
Nix
45 lines
783 B
Nix
{
|
|
buildPythonPackage,
|
|
cma,
|
|
linien-client,
|
|
linien-common,
|
|
matplotlib,
|
|
migen,
|
|
misoc,
|
|
pytest-plt,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "linien-tests";
|
|
inherit (linien-common) version src;
|
|
pyproject = false;
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
nativeCheckInputs = [
|
|
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"
|
|
];
|
|
}
|