From: Ian Jackson Date: Wed, 3 Oct 2018 23:48:24 +0000 (+0100) Subject: i18n: po4a: Add a test that po4a.cfg is up to date X-Git-Tag: archive/debian/7.0~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=2f7ea368630d568a6bec7c8397331c92630e75b2 i18n: po4a: Add a test that po4a.cfg is up to date Signed-off-by: Ian Jackson --- diff --git a/debian/tests/control b/debian/tests/control index 4a1ccc2a..6559071e 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -55,7 +55,7 @@ Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, sbuild, man-db Restrictions: x-dgit-schroot-build -Tests: package-build spelling +Tests: i18n-po4a-uptodate package-build spelling Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime Restrictions: x-dgit-git-only diff --git a/tests/tests/i18n-po4a-uptodate b/tests/tests/i18n-po4a-uptodate new file mode 100755 index 00000000..98aa69ad --- /dev/null +++ b/tests/tests/i18n-po4a-uptodate @@ -0,0 +1,11 @@ +#!/bin/bash +set -e +. tests/lib + +t-restrict x-dgit-git-only + +cd $root + +make -C po4a po4a.cfg.check + +t-ok