mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-10 00:51:34 +11:00
Fix spelling errors in mgba-test-runner
This commit is contained in:
parent
495042239c
commit
9a68ff24a5
|
@ -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()
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue