qubes-installer-qubes-os/anaconda/tests/gettext_tests/canary_tests.sh
Marek Marczykowski-Górecki 6bc5671491
anaconda: update to 25.20.9-1
Apply:
  git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1

And resolve conflicts.

QubesOS/qubes-issues#2574
2017-02-14 02:36:20 +01:00

19 lines
527 B
Bash
Executable File

#!/bin/sh -e
# Run the translation-canary tests on translatable strings.
# If not run from automake, fake it
if [ -z "$top_srcdir" ]; then
top_srcdir="$(dirname "$0")/../.."
fi
. "${top_srcdir}/tests/testenv.sh"
# Make sure anaconda.pot is update to date
make -C ${top_builddir}/po anaconda.pot-update >/dev/null 2>&1
PYTHONPATH="${PYTHONPATH}:${top_srcdir}/translation-canary"
export PYTHONPATH
# Run the translatable tests on the POT file
python3 -m translation_canary.translatable "${top_builddir}/po/anaconda.pot"