[Pkg-haskell-commits] darcs: haskell-augeas: Do not run tests
Joachim Breitner
mail at joachim-breitner.de
Wed Nov 24 10:24:53 UTC 2010
Wed Nov 24 10:21:08 UTC 2010 Joachim Breitner <mail at joachim-breitner.de>
* Do not run tests
Ignore-this: e68a466a51006575f99a1ac44dacc355
(otherwise, HUnit becomes a dependency of the library, which should not happen.
TODO: Investigate how to avoid this, and whether this is a Cabal
bug/limitation).
M ./control -1
A ./patches/no-tests.patch
M ./patches/series +1
M ./rules -10
Wed Nov 24 10:21:08 UTC 2010 Joachim Breitner <mail at joachim-breitner.de>
* Do not run tests
Ignore-this: e68a466a51006575f99a1ac44dacc355
(otherwise, HUnit becomes a dependency of the library, which should not happen.
TODO: Investigate how to avoid this, and whether this is a Cabal
bug/limitation).
diff -rN -u old-haskell-augeas/control new-haskell-augeas/control
--- old-haskell-augeas/control 2010-11-24 10:24:53.153530470 +0000
+++ new-haskell-augeas/control 2010-11-24 10:24:53.157530681 +0000
@@ -9,7 +9,6 @@
, ghc6
, ghc6-prof
, libaugeas-dev
- , libghc6-hunit-dev
, pkg-config
Build-Depends-Indep: ghc6-doc
Standards-Version: 3.9.1
diff -rN -u old-haskell-augeas/patches/no-tests.patch new-haskell-augeas/patches/no-tests.patch
--- old-haskell-augeas/patches/no-tests.patch 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-augeas/patches/no-tests.patch 2010-11-24 10:24:53.157530681 +0000
@@ -0,0 +1,20 @@
+Do not run tests (otherwise, HUnit becomes a dependency of the library, which
+should not happen. TODO: Investigate how to avoid this, and whether this is a
+Cabal bug/limitation).
+--- haskell-augeas-0.3.4.orig/augeas.cabal
++++ haskell-augeas-0.3.4/augeas.cabal
+@@ -22,14 +22,3 @@ library
+ GHC-options: -Wall -fwarn-dodgy-imports
+ Extensions: CPP
+ Pkgconfig-Depends: augeas
+-
+-executable "test-haskell-augeas"
+- Main-is: HUnitAug.hs
+- Build-Depends: HUnit
+- Other-Modules: System.Augeas, System.AugeasHsc
+- extra-libraries: augeas
+- GHC-options: -Wall -fwarn-dodgy-imports
+- Extensions: CPP
+- Pkgconfig-Depends: augeas
+-
+-
diff -rN -u old-haskell-augeas/patches/series new-haskell-augeas/patches/series
--- old-haskell-augeas/patches/series 2010-11-24 10:24:53.153530470 +0000
+++ new-haskell-augeas/patches/series 2010-11-24 10:24:53.157530681 +0000
@@ -1 +1,2 @@
Setup-test-buildDir.patch
+no-tests.patch
diff -rN -u old-haskell-augeas/rules new-haskell-augeas/rules
--- old-haskell-augeas/rules 2010-11-24 10:24:53.153530470 +0000
+++ new-haskell-augeas/rules 2010-11-24 10:24:53.157530681 +0000
@@ -5,16 +5,6 @@
clean::
make clean
- rm -f build-test-stamp
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-common-build-arch:: build-test-stamp
-
-build-test-stamp: build-ghc6-stamp
- debian/hlibrary.setup test --builddir=dist-ghc6
- touch debian/test.stamp
-endif
-
More information about the Pkg-haskell-commits
mailing list