Merge pull request #67489 from mmahut/exiv2
exiv2: enabling tests for real
This commit is contained in:
commit
bfcab98074
1 changed files with 10 additions and 0 deletions
|
@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
|
||||||
"doc"
|
"doc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
# Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.
|
# Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.
|
||||||
checkTarget = "tests";
|
checkTarget = "tests";
|
||||||
|
|
||||||
|
@ -65,6 +67,14 @@ stdenv.mkDerivation rec {
|
||||||
${stdenv.lib.optionalString stdenv.isAarch64 ''
|
${stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||||
rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
|
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 = ''
|
postCheck = ''
|
||||||
|
|
Loading…
Reference in a new issue