tests: Enable some virtio-pmem test for Arm64

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
Jianyong Wu 2021-09-08 00:07:54 -04:00 committed by Rob Bradford
parent 4d8a73735b
commit 579710d3e0

View File

@ -2853,19 +2853,16 @@ mod tests {
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_virtio_pmem_persist_writes() { fn test_virtio_pmem_persist_writes() {
test_virtio_pmem(false, false) test_virtio_pmem(false, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_virtio_pmem_discard_writes() { fn test_virtio_pmem_discard_writes() {
test_virtio_pmem(true, false) test_virtio_pmem(true, false)
} }
#[test] #[test]
#[cfg(target_arch = "x86_64")]
fn test_virtio_pmem_with_size() { fn test_virtio_pmem_with_size() {
test_virtio_pmem(true, true) test_virtio_pmem(true, true)
} }