blob: b95307fce9ac55adfa5ef907e0f6553493c2dfc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
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"
];
}
|