Skip to content

spec-test-script: skip a few tests for xtensa#3664

Merged
wenyongh merged 3 commits intobytecodealliance:mainfrom
yamt:xtensa-ci2
Jul 25, 2024
Merged

spec-test-script: skip a few tests for xtensa#3664
wenyongh merged 3 commits intobytecodealliance:mainfrom
yamt:xtensa-ci2

Conversation

@yamt
Copy link
Contributor

@yamt yamt commented Jul 24, 2024

because these test cases require more memory than what nuttx on esp32s3 qemu can afford.

@yamt
Copy link
Contributor Author

yamt commented Jul 24, 2024

return True

# esp32s3 qemu doesn't have PSRAM emulation
if target == 'xtensa' and case_name in ["memory_size"]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to check qemu_flag also since some non-qemu environment may support the case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. it makes sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. it makes sense. done.


# Note: 'as-memory.grow-first' doesn't actually grow memory.
# (thus not in this list)
if opts.target == 'xtensa' and func in {'as-memory.grow-value', 'as-memory.grow-size', 'as-memory.grow-last', 'as-memory.grow-everywhere'}:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, had better check opts.qemu also?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@wenyongh wenyongh merged commit 83b3655 into bytecodealliance:main Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants