arrow-cpp: fix/disable some plasma tests on darwin
This commit is contained in:
parent
bf09368bf5
commit
8c86e54a25
|
@ -80,12 +80,21 @@ in stdenv.mkDerivation rec {
|
||||||
if doInstallCheck then "${parquet-testing}/data" else null;
|
if doInstallCheck then "${parquet-testing}/data" else null;
|
||||||
installCheckInputs = [ perl which ];
|
installCheckInputs = [ perl which ];
|
||||||
installCheckPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
|
installCheckPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
for f in release/*test; do
|
for f in release/*test{,s}; do
|
||||||
install_name_tool -add_rpath "$out"/lib "$f"
|
install_name_tool -add_rpath "$out"/lib "$f"
|
||||||
done
|
done
|
||||||
'') + ''
|
'')
|
||||||
ctest -L unittest -V
|
+ (let
|
||||||
'';
|
excludedTests = stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
# Some plasma tests need to be patched to use a shorter AF_UNIX socket
|
||||||
|
# path on Darwin. See https://github.com/NixOS/nix/pull/1085
|
||||||
|
"plasma-external-store-tests"
|
||||||
|
"plasma-client-tests"
|
||||||
|
];
|
||||||
|
in ''
|
||||||
|
ctest -L unittest -V \
|
||||||
|
--exclude-regex '(${builtins.concatStringsSep "|" excludedTests})'
|
||||||
|
'');
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A cross-language development platform for in-memory data";
|
description = "A cross-language development platform for in-memory data";
|
||||||
|
|
Loading…
Reference in New Issue