|
|
|
@ -89,6 +89,19 @@ in stdenv.mkDerivation rec { |
|
|
|
|
doCheck = true; |
|
|
|
|
checkInputs = [ cxxtest ]; |
|
|
|
|
|
|
|
|
|
# TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829 |
|
|
|
|
checkPhase = let |
|
|
|
|
# Tests fail on aarch64 |
|
|
|
|
disabledTests = lib.optionals stdenv.isAarch64 [ |
|
|
|
|
"MessageTest" |
|
|
|
|
"UnisonTest" |
|
|
|
|
]; |
|
|
|
|
in '' |
|
|
|
|
runHook preCheck |
|
|
|
|
ctest --output-on-failure -E '^${lib.concatStringsSep "|" disabledTests}$' |
|
|
|
|
runHook postCheck |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
# When building with zest GUI, patch plugins |
|
|
|
|
# and standalone executable to properly locate zest |
|
|
|
|
postFixup = lib.optionalString (guiModule == "zest") '' |
|
|
|
|