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