Fix spelling errors in mgba-test-runner

This commit is contained in:
Gwilym Kuiper 2022-11-17 21:25:06 +00:00
parent 495042239c
commit 9a68ff24a5
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ fn main() {
.compile("test-runner");
println!("cargo:rustc-link-search={}", out_path.to_str().unwrap());
println!("cargo:rustc-link-lib=static={}", "mgba-cycle");
println!("cargo:rustc-link-lib=static=mgba-cycle");
println!("cargo:rustc-link-lib=elf");
let bindings = bindgen::Builder::default()

View file

@ -14,7 +14,7 @@ use std::path::Path;
enum Status {
Running,
Failed,
Sucess,
Success,
}
enum Timing {
@ -84,7 +84,7 @@ fn test_file(file_to_run: &str) -> Status {
}
if out == "Tests finished successfully" {
finished = Status::Sucess;
finished = Status::Success;
}
}
});
@ -111,7 +111,7 @@ fn main() -> Result<(), Error> {
match output {
Status::Failed => Err(anyhow!("Tests failed!")),
Status::Sucess => Ok(()),
Status::Success => Ok(()),
_ => {
unreachable!("very bad thing happened");
}