Enable more tests on AArch64 (#2994)

Copyright (c) 2021, Arm Limited.
This commit is contained in:
Anton Kirilov
2021-06-21 18:26:44 +01:00
committed by GitHub
parent 443eb7a843
commit cb93726250
9 changed files with 44 additions and 28 deletions

View File

@@ -1,3 +1,4 @@
use super::skip_pooling_allocator_tests;
use anyhow::Result;
use wasmtime::*;
@@ -187,8 +188,11 @@ fn memory_guard_page_trap() -> Result<()> {
}
#[test]
#[cfg_attr(target_arch = "aarch64", ignore)] // https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
fn memory_zeroed() -> Result<()> {
if skip_pooling_allocator_tests() {
return Ok(());
}
let mut config = Config::new();
config.allocation_strategy(InstanceAllocationStrategy::Pooling {
strategy: PoolingAllocationStrategy::NextAvailable,
@@ -357,8 +361,11 @@ fn table_init() -> Result<()> {
}
#[test]
#[cfg_attr(target_arch = "aarch64", ignore)] // https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
fn table_zeroed() -> Result<()> {
if skip_pooling_allocator_tests() {
return Ok(());
}
let mut config = Config::new();
config.allocation_strategy(InstanceAllocationStrategy::Pooling {
strategy: PoolingAllocationStrategy::NextAvailable,