On Fri, 02 Jan 2015 11:51:12 +0100 Joachim Breitner <nomeata@debian.org> wrote: > 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 That's strange, since it did work for me, even ough I thought it shouldn't and thoguht adt-run has some way to prevent this. I actually wanted something like `echo -e 'print "works"\n:quit' | cabal repl` > Also, I get > cabal: The program 'haddock' version >=0.6 is required but it could not be > found. At what point do you get this? During the test? If you're in doupt, could you send me a log? I unfortunately can't test in a chroot, because my internet connection, doesn't allow to set one up, now. > I tested this with > $ adt-run --source haskell-hgettext_0.1.30-4.dsc --- schroot sid Regards Sven
Attachment:
pgphS8mS4PXIz.pgp
Description: Digitale Signatur von OpenPGP