summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgfmt-qt-1
blob: 0308580228cad5edbfef6804ac9be558743dc15c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src

# Test output in Qt .qm format.

: ${MSGFMT=msgfmt}
${MSGFMT} --qt -o mf-qt-1.qm "$abs_srcdir"/qttest_pl.po || Exit 1

: ${CMP=cmp}
${CMP} "$abs_srcdir"/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
result=$?

exit $result