mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 13:25:01 +01:00
add more tests
This commit is contained in:
parent
0af012d43a
commit
72f74c972d
7 changed files with 123 additions and 31 deletions
|
|
@ -21,7 +21,7 @@ fn check() -> eyre::Result<()> {
|
|||
|
||||
let name = file.file_name();
|
||||
let name = name.to_str().unwrap();
|
||||
if !name.ends_with(".s") {
|
||||
if !name.ends_with(".S") {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ fn check() -> eyre::Result<()> {
|
|||
|
||||
let status = rustv32i::execute_linux_elf(
|
||||
&content,
|
||||
matches!(std::env::var("EMULATOR_DEBUG").as_deref(), Ok(v) if v != "0"),
|
||||
true,
|
||||
Box::new(|_, xreg| {
|
||||
if xreg[Reg::A7.0 as usize] == u32::MAX {
|
||||
if xreg[Reg::A0.0 as usize] == 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue