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

Move spec test to the last commit of Apr.3 #3293

Merged

Conversation

lum1n0us
Copy link
Collaborator

@lum1n0us lum1n0us commented Apr 9, 2024

No description provided.

@lum1n0us lum1n0us force-pushed the fix/latest_spec_test_commit branch from f44e6e5 to b8a5c1f Compare April 9, 2024 13:53
@lum1n0us lum1n0us force-pushed the fix/latest_spec_test_commit branch from 540350b to 0cb2e72 Compare April 24, 2024 07:18
@lum1n0us lum1n0us force-pushed the fix/latest_spec_test_commit branch 7 times, most recently from 7e34e4e to f7adb29 Compare May 6, 2024 09:30
@lum1n0us lum1n0us marked this pull request as ready for review May 6, 2024 13:19
@lum1n0us lum1n0us requested a review from wenyongh May 6, 2024 13:20
tests/wamr-test-suites/spec-test-script/runtest.py Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
# multi-module only enable in interp mode and aot mode
if [[ ${ENABLE_MULTI_MODULE} -eq 1 ]]; then
if [[ "${RUNNING_MODE}" != "classic-interp" \
&& "${RUNNING_MODE}" != "fast-interp" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Should also add aot, && "${RUNNING_MODE}" != "aot"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

aot + multi-modules will fail the linking test case. Tend to fix it in another PR.

tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Outdated Show resolved Hide resolved
tests/wamr-test-suites/test_wamr.sh Show resolved Hide resolved
@lum1n0us
Copy link
Collaborator Author

lum1n0us commented May 9, 2024

This PR depends on #3362 and #3399

@lum1n0us lum1n0us force-pushed the fix/latest_spec_test_commit branch 4 times, most recently from 90476ef to 1290c0d Compare May 14, 2024 07:33
- update spec test to commit bc76fd79cfe61033d7f4ad4a7e8fc4f996dc5ba8 on Apr. 3
- upddate wabt binary to 1.0.34 to support newer spec cases
- Add comparision between table declared elem type and elem segment value type
- Add a function to decide whether to execute test cases in a running mode
- keep using interpreter in GC spec because wat2wasm in wabt can't compile if.wast w/o errors
- re-factoring threads spec test case processing
- since wabt 1.0.34 release isn't compatible with ubuntu 20.04, compile
  from source code
@lum1n0us lum1n0us force-pushed the fix/latest_spec_test_commit branch from 1290c0d to 494d7e7 Compare May 14, 2024 08:32
@lum1n0us
Copy link
Collaborator Author

This PR depends on #3362 and #3399

Both are merged. This PR has been rebased. Good to 🏃

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

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

LGTM

@wenyongh wenyongh merged commit b2eb7d8 into bytecodealliance:main May 17, 2024
670 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.

None yet

2 participants