[Git][haskell-team/DHG_packages][master] haskell-easytest: don't build tests with rtsopts

Gianfranco Costamagna gitlab at salsa.debian.org
Tue Sep 3 13:40:13 BST 2019



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
dc5336ee by Gianfranco Costamagna at 2019-09-03T12:38:16Z
haskell-easytest: don't build tests with rtsopts

- - - - -


3 changed files:

- p/haskell-easytest/debian/changelog
- + p/haskell-easytest/debian/patches/no-rtsopts
- p/haskell-easytest/debian/patches/series


Changes:

=====================================
p/haskell-easytest/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-easytest (0.2.1-2) unstable; urgency=medium
+
+  * Don't build test executables with RTS -N; most of
+    Debian's architectures lack SMP support (see: #887316).
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 03 Sep 2019 14:36:12 +0200
+
 haskell-easytest (0.2.1-1) unstable; urgency=low
 
   * Initial release


=====================================
p/haskell-easytest/debian/patches/no-rtsopts
=====================================
@@ -0,0 +1,31 @@
+--- haskell-easytest-0.2.1.orig/easytest.cabal
++++ haskell-easytest-0.2.1/easytest.cabal
+@@ -108,7 +108,7 @@ library
+ test-suite tests
+   type:           exitcode-stdio-1.0
+   main-is:        Suite.hs
+-  ghc-options:    -w -threaded -rtsopts -with-rtsopts=-N -v0
++  ghc-options:    -w -threaded -rtsopts -v0
+   hs-source-dirs: tests
+   other-modules:
+   build-depends:
+--- haskell-easytest-0.2.1.orig/src/EasyTest.hs
++++ haskell-easytest-0.2.1/src/EasyTest.hs
+@@ -174,7 +174,7 @@ The various run functions (@run@, @runOn
+ -- Preferred way to run EasyTest-based test suite
+ executable runtests
+   main-is:        NameOfYourTestSuite.hs
+-  ghc-options:    -w -threaded -rtsopts -with-rtsopts=-N -v0
++  ghc-options:    -w -threaded -rtsopts -v0
+   hs-source-dirs: tests
+   other-modules:
+   build-depends:
+@@ -188,7 +188,7 @@ executable runtests
+ test-suite tests
+   type:           exitcode-stdio-1.0
+   main-is:        NameOfYourTestSuite.hs
+-  ghc-options:    -w -threaded -rtsopts -with-rtsopts=-N -v0
++  ghc-options:    -w -threaded -rtsopts -v0
+   hs-source-dirs: tests
+   other-modules:
+   build-depends:


=====================================
p/haskell-easytest/debian/patches/series
=====================================
@@ -1 +1,2 @@
 setup-hs
+no-rtsopts



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/dc5336eeb4122c8066b3330d0b90a35dcf64936b

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/dc5336eeb4122c8066b3330d0b90a35dcf64936b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190903/9a7b4b50/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list