[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-haskell-commits] darcs: haskell-hgettext: add-autopkgtest



Hi,

thanks!

Am Donnerstag, den 01.01.2015, 20:17 +0000 schrieb Sven Bartscher:
> --- old-haskell-hgettext/tests/cabal-install-compatibility	1970-01-01 00:00:00.000000000 +0000
> +++ new-haskell-hgettext/tests/cabal-install-compatibility	2015-01-01 20:17:41.273053840 +0000
> @@ -0,0 +1,23 @@
> +#!/bin/sh
> +set -e
> +
> +# Create the example package
> +cd debian/tests
> +cp Setup.hs example.cabal example.hs $ADTTMP
> +cd $ADTTMP
> +mkdir example
> +mv Setup.hs example.cabal example.hs example
> +cd example
> +touch LICENSE.txt # Cabal expects this
> +
> +# These tests are needed to make sure the cabal libraries used to compile
> +# cabal-install and hgettext are compatible.
> +# Test whether we can configure this
> +cabal configure
> +# Test whether we can build this
> +cabal build
> +# Test whether we can compile to repl
> +cabal repl

did you test this? When I run this, it fires up ghci and then just sits
there – I’m sure the people at ci.debian.org won’t like that.

Did you want to write something like
echo 'print "works"' | cabal repl

Also, I get
cabal: The program 'haddock' version >=0.6 is required but it could not be
found.

I tested this with 
$ adt-run --source haskell-hgettext_0.1.30-4.dsc --- schroot sid


Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: