bonmin: run tests

This commit is contained in:
Guilhem Saurel
2024-08-12 15:25:43 +02:00
parent 5ea10311c9
commit 9cfd6f5984
@@ -64,6 +64,16 @@ stdenv.mkDerivation rec {
# Fontconfig error: No writable cache directories
preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
doCheck = true;
checkTarget = "test";
# ignore one failing test
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace test/Makefile.in --replace-fail \
"./unitTest\''$(EXEEXT)" \
""
'';
# install documentation
postInstall = "make install-doxygen-docs";