surelog: run unit tests
This commit is contained in:
parent
5d0452a9ae
commit
6626bf243c
@ -34,6 +34,14 @@ stdenv.mkDerivation rec {
|
||||
]))
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
make -j $NIX_BUILD_CORES UnitTests
|
||||
ctest --output-on-failure
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/lib/surelog/* $out/lib/
|
||||
rm -rf $out/lib/surelog
|
||||
|
Loading…
Reference in New Issue
Block a user