From 9f03e44adc8bed06258ef5db1afbdd0b4e4ff38a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 16 Jun 2017 19:11:21 +0200 Subject: [PATCH] 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. --- NEWS.md | 3 +++ debian-upstream/rules | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 62474361f..65be3d318 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/debian-upstream/rules b/debian-upstream/rules index b70752b28..8b4bc8ec7 100755 --- a/debian-upstream/rules +++ b/debian-upstream/rules @@ -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