forked from mirrors/nixpkgs
Merge pull request #67489 from mmahut/exiv2
exiv2: enabling tests for real
This commit is contained in:
commit
bfcab98074
|
@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
|
|||
"doc"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.
|
||||
checkTarget = "tests";
|
||||
|
||||
|
@ -65,6 +67,14 @@ stdenv.mkDerivation rec {
|
|||
${stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||
rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
|
||||
''}
|
||||
|
||||
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/lib
|
||||
# Removing tests depending on charset conversion
|
||||
substituteInPlace ../test/Makefile --replace "conversions.sh" ""
|
||||
rm -f ../tests/bugfixes/redmine/test_issue_460.py
|
||||
rm -f ../tests/bugfixes/redmine/test_issue_662.py
|
||||
''}
|
||||
'';
|
||||
|
||||
postCheck = ''
|
||||
|
|
Loading…
Reference in a new issue