zynaddsubfx: disable PortChecker test when building with lashSupport
This commit is contained in:
parent
6c3be14afe
commit
fbaac3ad4f
|
@ -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}$'
|
||||
|
|
Loading…
Reference in a new issue