mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 18:34:08 +00:00
Force LC_ALL=C
for all run-make tests
This commit is contained in:
parent
e08b80c0fb
commit
b6909ce61e
@ -29,6 +29,7 @@ fn run_common(name: &str, args: Option<&[&str]>) -> Command {
|
||||
}
|
||||
env::join_paths(paths.iter()).unwrap()
|
||||
});
|
||||
cmd.env("LC_ALL", "C"); // force english locale
|
||||
|
||||
if is_windows() {
|
||||
let mut paths = vec![];
|
||||
@ -84,5 +85,6 @@ pub fn run_fail(name: &str) -> CompletedProcess {
|
||||
pub fn cmd<S: AsRef<OsStr>>(program: S) -> Command {
|
||||
let mut command = Command::new(program);
|
||||
set_host_rpath(&mut command);
|
||||
command.env("LC_ALL", "C"); // force english locale
|
||||
command
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user