In particular this forces the C.UTF-8 locale, which should mean the tests
pass even when run under a non-UTF-8 locale like C (which official Debian
buildds do not do, but some other environments like reproducible-builds
might).
Closes: #1027680
--generate en_US.UTF-8 \
--generate sv_SE=ISO-8859-1 \
-- \
- meson test -C "$BUILDDIR" \
- --print-errorlogs \
- --setup="$BACKEND" \
- "$@" \
+ dh_auto_test --builddirectory="$BUILDDIR" -- \
+ --setup="$BACKEND" \
+ "$@" \
|| touch "$test_data/tests-failed"
# Don't base64-encode the image results for tests that upstream