Debian packaging: run test suite with LC_ALL=C

Otherwise the translations of an existing installation of MKVToolNix
might be used causing tests such as the file size formatting functions
to fail as translated unit names are used.

Fixes #2011.
This commit is contained in:
Moritz Bunkus 2017-06-16 19:11:21 +02:00
parent 0d218df6dd
commit 9f03e44adc
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@
* mkvpropedit: fixed a crash when the selector used for `--tags` is invalid.
* MKVToolNix GUI: fixed computation of value of total progress bar for multiple
jobs running. Fixes #2005.
* Debian/Ubuntu packaging: during a `dpkg-buildpackage` run the test suite was
failing when a non-English locale was active and MKVToolNix packages had
already been installed. Fixes #2011.
# Version 12.0.0 "Trust / Lust" 2017-05-20

View File

@ -34,7 +34,7 @@ endif
override_dh_auto_build:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
rake tests:run_unit
LC_ALL=C rake tests:run_unit
endif
rake