Commit 2683bad6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

test: check POTFILES.in in test suite

(It is already tested in dist(check) but that is way too slow.)
parent 1128f3cb
......@@ -23,7 +23,8 @@ check_PROGRAMS = \
$(NULL)
check_SCRIPTS = \
modules/lua/telnet.sh
modules/lua/telnet.sh \
check_POTFILES.sh
# Disabled test:
# meta: No suitable test file
......@@ -37,7 +38,7 @@ EXTRA_DIST = samples/empty.voc samples/image.jpg $(check_SCRIPTS)
check_HEADERS = libvlc/test.h libvlc/libvlc_additions.h
TESTS = $(check_PROGRAMS)
TESTS = $(check_PROGRAMS) check_POTFILES.sh
DISTCLEANFILES = samples/test.sample samples/meta.sample
......
#! /bin/sh
top_srcdir="${srcdir}/.."
set -xe
cd ${top_srcdir}
grep -v '^#' po/POTFILES.in | \
while read f
do
test -n "$f" || continue
if test ! -f "$f"
then
echo "$f: source file missing!" >&2
exit 1
fi
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment