diff options
author | Phillip Cloud <417981+cpcloud@users.noreply.github.com> | 2022-05-01 12:16:08 -0400 |
---|---|---|
committer | Phillip Cloud <417981+cpcloud@users.noreply.github.com> | 2022-05-02 06:45:37 -0400 |
commit | 2b88803ac9d442e8de92950228e9f23c0adc51d2 (patch) | |
tree | 68eacb0435ab50575dea20104eaa493b0e31c491 /pkgs/development/libraries/duckdb | |
parent | 72698b35cec5ef8c00dd049df7970db4b43cadd1 (diff) |
duckdb: skip kurtosis and skewness tests on aarch64
Diffstat (limited to 'pkgs/development/libraries/duckdb')
-rw-r--r-- | pkgs/development/libraries/duckdb/default.nix | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/pkgs/development/libraries/duckdb/default.nix b/pkgs/development/libraries/duckdb/default.nix index 2041a14bfcc5b..ffec2e9ea35a6 100644 --- a/pkgs/development/libraries/duckdb/default.nix +++ b/pkgs/development/libraries/duckdb/default.nix @@ -49,19 +49,28 @@ stdenv.mkDerivation rec { doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck + installCheckPhase = + let + excludes = map (pattern: "exclude:'${pattern}'") [ + "*test_slow" + "Test file buffers for reading/writing to file" + "[test_slow]" + "test/common/test_cast_hugeint.test" + "test/sql/copy/csv/test_csv_remote.test" + "test/sql/copy/parquet/test_parquet_remote.test" + ] ++ lib.optionals stdenv.isAarch64 [ + "test/sql/aggregate/aggregates/test_kurtosis.test" + "test/sql/aggregate/aggregates/test_skewness.test" + "test/sql/function/list/aggregates/skewness.test" + ]; + in + '' + runHook preInstallCheck - $PWD/test/unittest \ - 'exclude:[test_slow]' \ - 'exclude:*test_slow' \ - exclude:test/sql/copy/csv/test_csv_remote.test \ - exclude:test/sql/copy/parquet/test_parquet_remote.test \ - exclude:test/common/test_cast_hugeint.test \ - exclude:'Test file buffers for reading/writing to file' + $PWD/test/unittest ${toString excludes} - runHook postInstallCheck - ''; + runHook postInstallCheck + ''; nativeBuildInputs = [ cmake ninja ]; buildInputs = lib.optionals withHttpFs [ openssl ] |