From ccfcc12a580aa27fc8b99c6ec262e82d74629457 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Thu, 12 Jan 2017 08:45:09 +0100 Subject: [PATCH] aux tests only run if the host is set --- tests/compiletest.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/compiletest.rs b/tests/compiletest.rs index ae55c1adb5c..909538494e8 100644 --- a/tests/compiletest.rs +++ b/tests/compiletest.rs @@ -32,6 +32,7 @@ fn miri_pass(path: &str, target: &str, host: &str) { config.mode = "mir-opt".parse().expect("Invalid mode"); config.src_base = PathBuf::from(path); config.target = target.to_owned(); + config.host = host.to_owned(); config.rustc_path = PathBuf::from("target/debug/miri"); // don't actually execute the final binary, it might be for other targets and we only care // about running miri, not the binary.