Print more detailed test run failures (#1764)

This commit is contained in:
Andrew Brown
2020-05-27 07:04:46 -07:00
committed by GitHub
parent 4e016afca3
commit 628a9f0eaa

View File

@@ -58,7 +58,7 @@ impl SubTest for TestRun {
// running x86_64 code on aarch64 platforms.
let compiled_fn = compiler
.compile(func.clone().into_owned())
.map_err(|e| e.to_string())?;
.map_err(|e| format!("{:?}", e))?;
command.run(|_, args| Ok(compiled_fn.call(args)))?;
}
}