summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-26 17:52:24 +0200
committerGitHub <noreply@github.com>2019-08-26 17:52:24 +0200
commitbfcab9807440410715c0167b408b22faf39b8f9b (patch)
treef978c831e0fd7563797cd31db1d59e0efd22829a /pkgs/development/libraries
parente4506992255676b4911570f473f432cc79742515 (diff)
parent4ee4bb98729412b4741e1f5309ec76ff6878a3cc (diff)
downloadnixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar.gz
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar.bz2
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar.lz
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar.xz
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.tar.zst
nixpkgs-bfcab9807440410715c0167b408b22faf39b8f9b.zip
Merge pull request #67489 from mmahut/exiv2
exiv2: enabling tests for real
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/exiv2/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix
index 85889cf8af1..ec6f07f0953 100644
--- a/pkgs/development/libraries/exiv2/default.nix
+++ b/pkgs/development/libraries/exiv2/default.nix
@@ -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 = ''