summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgfmt-qt-1
blob: f5dff9dfd80a51c355c401abb97f5f7b9a5eadca (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