Run unit tests

This commit is contained in:
Las Safin 2021-09-01 18:46:28 +00:00
parent 521863e195
commit 55f32e510e
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
1 changed files with 10 additions and 0 deletions

View File

@ -18,5 +18,15 @@ stdenv.mkDerivation {
];
nativeBuildInputs = [ cmake ninja ];
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/unittests
$out/bin/unittests --rb-tree
$out/bin/unittests --intv-tree
runHook postInstallCheck
'';
inherit version meta;
}