From 6ea7d17f20c3e0805e8bcba49ea7e38aa28a8bca Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 8 May 2016 16:30:51 +0100 Subject: [PATCH 1/1] debian/tests: add metadata to run the img test as an autopkgtest --- debian/changelog | 1 + debian/tests/control | 5 +++++ debian/tests/img-full-fat | 7 +++++++ debian/tests/img-low-fat | 7 +++++++ 4 files changed, 20 insertions(+) create mode 100644 debian/tests/control create mode 100755 debian/tests/img-full-fat create mode 100755 debian/tests/img-low-fat 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 -- 2.39.5