[Pkg-haskell-commits] darcs: haskell-lens: Enable test suite
Raúl Benencia
rul at kalgan.cc
Sat Apr 19 16:21:31 UTC 2014
Tue Apr 15 21:57:19 UTC 2014 Ra[_<U+00FA>_]l Benencia <rul at kalgan.cc>
* Enable test suite
M ./rules -1 +6
Tue Apr 15 21:57:19 UTC 2014 Raúl Benencia <rul at kalgan.cc>
* Enable test suite
diff -rN -u old-haskell-lens/rules new-haskell-lens/rules
--- old-haskell-lens/rules 2014-04-19 16:21:31.847705360 +0000
+++ new-haskell-lens/rules 2014-04-19 16:21:31.859705363 +0000
@@ -1,11 +1,16 @@
#!/usr/bin/make -f
-#DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/libHSrts_thr.a && echo yes)
+DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/libHSrts_thr.a && echo yes)
include /usr/share/cdbs/1/rules/buildvars.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+# LANG needs to be en_SOMETHING to make sure that some files work as the
+# test suite expects.
+check-ghc-stamp: export LANG := en_US.UTF-8
+check-ghc-stamp: export LC_ALL := C.UTF-8
+
ifeq ($(DEB_HOST_ARCH),sparc)
# Disable tests that require SMP.
DEB_SETUP_GHC_CONFIGURE_ARGS := -f-test-hunit -f-test-properties
More information about the Pkg-haskell-commits
mailing list