vigra: run upstream tests as tests.check
This commit is contained in:
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
python
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x config/run_test.sh.in
|
||||
patchShebangs --build config/run_test.sh.in
|
||||
'';
|
||||
|
||||
cmakeFlags =
|
||||
[
|
||||
"-DWITH_OPENEXR=1"
|
||||
@@ -53,6 +58,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
check = finalAttrs.finalPackage.overrideAttrs (previousAttrs: {
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
||||
mainProgram = "vigra-config";
|
||||
|
||||
Reference in New Issue
Block a user