MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / skip_pooling_allocator_tests

Function skip_pooling_allocator_tests

tests/all/main.rs:95–100  ·  view source on GitHub ↗

A helper determining whether the pooling allocator tests should be skipped.

()

Source from the content-addressed store, hash-verified

93
94/// A helper determining whether the pooling allocator tests should be skipped.
95pub(crate) fn skip_pooling_allocator_tests() -> bool {
96 // There are a couple of issues when running the pooling allocator tests under QEMU:
97 // - high memory usage that may exceed the limits imposed by the environment (e.g. CI)
98 // - https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
99 no_hog_memory()
100}
101
102/// Whether tests that hog memory should be skipped.
103pub(crate) fn no_hog_memory() -> bool {

Callers 2

memory_zeroedFunction · 0.85
table_zeroedFunction · 0.85

Calls 1

no_hog_memoryFunction · 0.85

Tested by 2

memory_zeroedFunction · 0.68
table_zeroedFunction · 0.68