Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

yamt
Copy link
Collaborator

@yamt yamt commented Jul 24, 2024

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

@yamt
Copy link
Collaborator Author

yamt commented Jul 24, 2024

@@ -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 target == 'xtensa' and case_name in ["memory_size"]:
Copy link
Contributor

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
Collaborator 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
Collaborator 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.

@@ -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.target == 'xtensa' and func in {'as-memory.grow-value', 'as-memory.grow-size', 'as-memory.grow-last', 'as-memory.grow-everywhere'}:
Copy link
Contributor

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
Collaborator 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
379 checks passed
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