3
0
Fork 0
forked from mirrors/nixpkgs

zynaddsubfx: disable PortChecker test when building with lashSupport

This commit is contained in:
Kira Bruneau 2022-08-04 17:57:51 -04:00
parent 6c3be14afe
commit fbaac3ad4f

View file

@ -93,11 +93,13 @@ in stdenv.mkDerivation rec {
# TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829
checkPhase = let
disabledTests =
# PortChecker test fails when lashSupport is enabled because
# zynaddsubfx takes to long to start trying to connect to lash
lib.optionals lashSupport [ "PortChecker" ]
# Tests fail on aarch64
disabledTests = lib.optionals stdenv.isAarch64 [
"MessageTest"
"UnisonTest"
];
++ lib.optionals stdenv.isAarch64 [ "MessageTest" "UnisonTest" ];
in ''
runHook preCheck
ctest --output-on-failure -E '^${lib.concatStringsSep "|" disabledTests}$'