[Pkg-haskell-commits] darcs: shelltestrunner: Add simple autotestpkg definition

Iustin Pop iustin at debian.org
Mon Jul 21 17:51:21 UTC 2014


Mon Jul 21 17:24:59 UTC 2014  Iustin Pop <iustin at debian.org>
  * Add simple autotestpkg definition
  
  Upstream doesn't ship the full test suite (patch sent), so for now we can add a
  simple, small test.

    M ./control +1
    A ./simpletest.test
    A ./tests/
    A ./tests/control

Mon Jul 21 17:24:59 UTC 2014  Iustin Pop <iustin at debian.org>
  * Add simple autotestpkg definition
  
  Upstream doesn't ship the full test suite (patch sent), so for now we can add a
  simple, small test.
diff -rN -u old-shelltestrunner/control new-shelltestrunner/control
--- old-shelltestrunner/control	2014-07-21 17:51:21.645216487 +0000
+++ new-shelltestrunner/control	2014-07-21 17:51:21.653216483 +0000
@@ -26,6 +26,7 @@
 Homepage: http://hackage.haskell.org/package/shelltestrunner
 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/shelltestrunner
 Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/shelltestrunner
+XS-Testsuite: autopkgtest
 
 Package: shelltestrunner
 Architecture: any
diff -rN -u old-shelltestrunner/simpletest.test new-shelltestrunner/simpletest.test
--- old-shelltestrunner/simpletest.test	1970-01-01 00:00:00.000000000 +0000
+++ new-shelltestrunner/simpletest.test	2014-07-21 17:51:21.649216485 +0000
@@ -0,0 +1,11 @@
+true
+<<<
+>>>
+>>>2
+>>>= 0
+
+false
+<<<
+>>>
+>>>2
+>>>= !0
diff -rN -u old-shelltestrunner/tests/control new-shelltestrunner/tests/control
--- old-shelltestrunner/tests/control	1970-01-01 00:00:00.000000000 +0000
+++ new-shelltestrunner/tests/control	2014-07-21 17:51:21.653216483 +0000
@@ -0,0 +1,2 @@
+Tests: simple
+Depends: @




More information about the Pkg-haskell-commits mailing list