Skip to content

Commit

Permalink
Update current code coverage for ARM in tests/integration_tests/build…
Browse files Browse the repository at this point in the history
…/test_coverage.py

Signed-off-by: StemCll [email protected]
  • Loading branch information
StemCll committed Nov 16, 2022
1 parent 2c7cccd commit 6c453d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/devices/src/virtio/net/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ pub mod test {
desc.next.set(next_index);
}

addr += len as u64;
addr += u64::from(len);
// Add small random gaps between descriptor addresses in order to make sure we
// don't blindly read contiguous memory.
addr += utils::rand::xor_pseudo_rng_u32() as u64 % 10;
addr += u64::from(utils::rand::xor_pseudo_rng_u32()) % 10;
}

// Mark the chain as available.
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/build/test_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Checkout the cpuid crate. In the future other
# differences may appear.
if utils.is_io_uring_supported():
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.39}
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.41}
else:
COVERAGE_DICT = {"Intel": 80.15, "AMD": 79.48, "ARM": 79.60}

Expand Down

0 comments on commit 6c453d3

Please sign in to comment.