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:
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user