spec-test-script: Skip a few tests for xtensa qemu (#3664)

Because these test cases require more memory than what nuttx on esp32s3 qemu can afford.
This commit is contained in:
YAMAMOTO Takashi
2024-07-25 12:59:31 +09:00
committed by GitHub
parent 2f147fae96
commit 83b36558a7
2 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,10 @@ def ignore_the_case(
if "i386" == target and case_name in ["float_exprs", "conversions"]:
return True
# esp32s3 qemu doesn't have PSRAM emulation
if qemu_flag and target == 'xtensa' and case_name in ["memory_size"]:
return True
if gc_flag:
if case_name in ["array_init_elem", "array_init_data"]:
return True

View File

@ -833,6 +833,12 @@ def test_assert_return(r, opts, form):
if ' ' in func:
func = func.replace(' ', '\\')
# Note: 'as-memory.grow-first' doesn't actually grow memory.
# (thus not in this list)
if opts.qemu and opts.target == 'xtensa' and func in {'as-memory.grow-value', 'as-memory.grow-size', 'as-memory.grow-last', 'as-memory.grow-everywhere'}:
log("ignoring memory.grow test")
return
if m.group(2) == '':
args = []
else: