Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: skip wasm-allocation tests for pointer compression builds
V8 isolate group initialization forces allocation of the virtual
memory cage with pointer compression builds and simply would not
work when there is a smaller hard limit on the virtual memory.
  • Loading branch information
joyeecheung committed May 4, 2025
commit a3fab01641b863222631700d65ee6d8f176f910d
2 changes: 1 addition & 1 deletion test/wasm-allocation/wasm-allocation.status
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ prefix wasm-allocation

[true] # This section applies to all platforms

[$system!=linux || $asan==on]
[$system!=linux || $asan==on || $pointer_compression==on]
test-wasm-allocation: SKIP
4 changes: 4 additions & 0 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,9 @@ def get_asan_state(vm, context):
asan = Execute([vm, '-p', 'process.config.variables.asan'], context).stdout.strip()
return "on" if asan == "1" else "off"

def get_pointer_compression_state(vm, context):
pointer_compression = Execute([vm, '-p', 'process.config.variables.v8_enable_pointer_compression'], context).stdout.strip()
return "on" if pointer_compression == "1" else "off"

def Main():
parser = BuildOptions()
Expand Down Expand Up @@ -1717,6 +1720,7 @@ def Main():
'arch': vmArch,
'type': get_env_type(vm, options.type, context),
'asan': get_asan_state(vm, context),
'pointer_compression': get_pointer_compression_state(vm, context),
}
test_list = root.ListTests([], path, context, arch, mode)
unclassified_tests += test_list
Expand Down