try to pin down the travis failure

This commit is contained in:
Oliver Schneider 2016-12-20 09:05:46 +01:00
parent 5d7b92a6e3
commit 1f40819315
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46

View file

@ -73,13 +73,13 @@ fn compile_test() {
};
run_pass();
let host = Path::new(&sysroot).file_name()
.unwrap()
.expect("sysroot has no last par")
.to_str()
.unwrap()
.expect("sysroot contains non utf8")
.splitn(2, '-')
.skip(1)
.next()
.unwrap();
.expect("target dir not prefixed");
for_all_targets(&sysroot, |target| {
miri_pass("tests/run-pass", &target, host);
if let Ok(path) = std::env::var("MIRI_RUSTC_TEST") {