From: Simon McVittie Date: Sun, 8 May 2016 15:30:51 +0000 (+0100) Subject: debian/tests: add metadata to run the img test as an autopkgtest X-Git-Tag: debian/3.20120629.2+deb7u2~44 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/6ea7d17f20c3e0805e8bcba49ea7e38aa28a8bca?hp=84a0b15eb68917829267bacac005f2bcefee914a debian/tests: add metadata to run the img test as an autopkgtest --- diff --git a/debian/changelog b/debian/changelog index 6a3cb77c6..fc456b42d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,7 @@ ikiwiki (3.20120629.3) UNRELEASED; urgency=medium - Handle filenames containing a colon correctly (smcv) * Add t/img.t regression test also taken from version 3.20160506 (chrysn, joeyh, schmonz, smcv) + * debian/tests: add metadata to run the img test as an autopkgtest -- Simon McVittie Sun, 08 May 2016 15:33:51 +0100 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 000000000..33e5d6cd1 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: img-low-fat +Depends: @, perlmagick + +Tests: img-full-fat +Depends: @, ghostscript, libmagickcore-extra, perlmagick diff --git a/debian/tests/img-full-fat b/debian/tests/img-full-fat new file mode 100755 index 000000000..0eb45d336 --- /dev/null +++ b/debian/tests/img-full-fat @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +exec 2>&1 +set -x +cp -a t $ADTTMP/t +cd $ADTTMP +exec env INSTALLED_TESTS=1 ./t/img.t diff --git a/debian/tests/img-low-fat b/debian/tests/img-low-fat new file mode 100755 index 000000000..0eb45d336 --- /dev/null +++ b/debian/tests/img-low-fat @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +exec 2>&1 +set -x +cp -a t $ADTTMP/t +cd $ADTTMP +exec env INSTALLED_TESTS=1 ./t/img.t