Run unit tests
This commit is contained in:
parent
521863e195
commit
55f32e510e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue