[Pkg-haskell-commits] darcs: haskell-pandoc-citeproc: Set LANG when running the test suite (though to en_US.UTF-8, not C.UTF-8 which doesn't work) as well as LC_ALL.

Colin Watson cjwatson at debian.org
Wed Jan 8 12:15:36 UTC 2014


Wed Jan  8 12:15:29 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Set LANG when running the test suite (though to en_US.UTF-8, not C.UTF-8 which doesn't work) as well as LC_ALL.

    M ./changelog +2
    M ./rules +3

Wed Jan  8 12:15:29 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Set LANG when running the test suite (though to en_US.UTF-8, not C.UTF-8 which doesn't work) as well as LC_ALL.
diff -rN -u old-haskell-pandoc-citeproc/changelog new-haskell-pandoc-citeproc/changelog
--- old-haskell-pandoc-citeproc/changelog	2014-01-08 12:15:36.772174114 +0000
+++ new-haskell-pandoc-citeproc/changelog	2014-01-08 12:15:36.772174114 +0000
@@ -5,6 +5,8 @@
     - Make libghc-pandoc-citeproc-dev and pandoc-citeproc depend on
       libghc-pandoc-citeproc-data.
     - Fix paths of locale files to match what Text.CSL.Data expects.
+  * Set LANG when running the test suite (though to en_US.UTF-8, not C.UTF-8
+    which doesn't work) as well as LC_ALL.
 
  -- Colin Watson <cjwatson at debian.org>  Wed, 08 Jan 2014 11:18:59 +0000
 
diff -rN -u old-haskell-pandoc-citeproc/rules new-haskell-pandoc-citeproc/rules
--- old-haskell-pandoc-citeproc/rules	2014-01-08 12:15:36.772174114 +0000
+++ new-haskell-pandoc-citeproc/rules	2014-01-08 12:15:36.776174113 +0000
@@ -9,6 +9,9 @@
 
 DEB_SETUP_GHC_CONFIGURE_ARGS = -fbibutils -funicode_collation
 
+# LANG needs to be en_SOMETHING to make sure that Text.CSL.Input.Bibtex
+# works as the test suite expects.
+check-ghc-stamp: export LANG := en_US.UTF-8
 check-ghc-stamp: export LC_ALL := C.UTF-8
 
 install/libghc-pandoc-citeproc-data:: debian/tmp-inst-ghc




More information about the Pkg-haskell-commits mailing list