From 2f7ea368630d568a6bec7c8397331c92630e75b2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 00:48:24 +0100 Subject: [PATCH] i18n: po4a: Add a test that po4a.cfg is up to date Signed-off-by: Ian Jackson --- debian/tests/control | 2 +- tests/tests/i18n-po4a-uptodate | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 tests/tests/i18n-po4a-uptodate 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 -- 2.30.2