build system: 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.

See #2011.
This commit is contained in:
Moritz Bunkus 2017-06-18 11:50:18 +02:00
parent d82faa6483
commit 5886f4cf75

View File

@ -9,7 +9,7 @@ namespace :tests do
desc "Build and run the unit tests"
task :run_unit => 'tests:unit' do
$gtest_apps.each { |app| run "./tests/unit/#{app}/#{app}" }
$gtest_apps.each { |app| run "LC_ALL=C ./tests/unit/#{app}/#{app}" }
end
end