gdal: use pytest-benchmark to disable benchmarks
This is a the reliable way to make sure we don't run any benchmarks, since apparently disabling the benchmark directory has become insufficient.
This commit is contained in:
parent
56d8697a63
commit
f13af94a1f
1 changed files with 4 additions and 3 deletions
|
@ -234,18 +234,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
nativeInstallCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytest-benchmark
|
||||
pytest-env
|
||||
filelock
|
||||
lxml
|
||||
];
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-disable"
|
||||
];
|
||||
disabledTestPaths = [
|
||||
# tests that attempt to make network requests
|
||||
"gcore/vsis3.py"
|
||||
"gdrivers/gdalhttp.py"
|
||||
"gdrivers/wms.py"
|
||||
|
||||
# disable benchmarks
|
||||
"benchmark/*"
|
||||
];
|
||||
disabledTests = [
|
||||
# tests that attempt to make network requests
|
||||
|
|
Loading…
Reference in a new issue