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