mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix unit test to match actual testbench tooling
This commit is contained in:
parent
c1564d2ca1
commit
13702f2df0
1 changed files with 3 additions and 2 deletions
|
|
@ -318,10 +318,11 @@ pub fn host_fifo_tests() -> usize {
|
||||||
//
|
//
|
||||||
// finally, we're pegged at 15, because, backpressure caused us to miss the rest of
|
// finally, we're pegged at 15, because, backpressure caused us to miss the rest of
|
||||||
// the entries, and we are stuck at the final written value of the output test
|
// the entries, and we are stuck at the final written value of the output test
|
||||||
|
print!("rbk: {:x}\r", rbk);
|
||||||
if i <= 9 {
|
if i <= 9 {
|
||||||
assert!(rbk == !(0xF1F0_0000 + i));
|
assert!(rbk == (0xF1F0_0000 + i));
|
||||||
} else {
|
} else {
|
||||||
assert!(rbk == !(0xF1F0_0000 + 15));
|
assert!(rbk == (0xF1F0_0000 + 15));
|
||||||
}
|
}
|
||||||
print!("backpressure {:x}\r", rbk);
|
print!("backpressure {:x}\r", rbk);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue