mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 23:57:38 +00:00
duckdb: run unit tests
This commit is contained in:
parent
a585b1c709
commit
72698b35ce
@ -47,6 +47,22 @@ stdenv.mkDerivation rec {
|
||||
"-DJDBC_DRIVER=${enableFeature withJdbc}"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
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'
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
buildInputs = lib.optionals withHttpFs [ openssl ]
|
||||
++ lib.optionals withJdbc [ openjdk11 ]
|
||||
|
Loading…
Reference in New Issue
Block a user