diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-14 12:49:01 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-14 13:45:45 +0100 |
commit | f13af94a1fabc6602d37e88a9dc7b39140342b90 (patch) | |
tree | 904ea0f8fe6b9f38a27a4d598315cea5b0d09df3 /pkgs/development/libraries/gdal | |
parent | 56d8697a63bbab709c4ca27cf800fc0cb49a0cb7 (diff) |
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.
Diffstat (limited to 'pkgs/development/libraries/gdal')
-rw-r--r-- | pkgs/development/libraries/gdal/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix index 38a4342dfa1d7..6c298ac0e1d94 100644 --- a/pkgs/development/libraries/gdal/default.nix +++ b/pkgs/development/libraries/gdal/default.nix @@ -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 |