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

[test] Fix wasm2js stale check failure #6168

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Dec 12, 2023

I tried to exclude wasm2js asserts tests from check_for_stale_files in #6164, but ended up doing it incorrectly. The file I checked for was wasm2js.wast.asserts, while the output I should have excluded was wasm2js.asserts.js. This fixes the code so we now check the prefix and not the filename.

This is currently breaking the main branch, which was caused by me landing multiple PRs at once. Sorry for the breakage. Landing this will fix it.

I tried to exclude wasm2js asserts tests from `check_for_stale_files` in
 WebAssembly#6164, but ended up doing it incorrectly. The file I checked for was
`wasm2js.wast.asserts`, while the output I should have excluded was
`wasm2js.asserts.js`. This fixes the code so we now check the prefix and
not the filename.

This is currently breaking the main branch, which was caused by me
landing multiple PRs at once. Sorry for the breakage. Landing this will
fix it.
@aheejin aheejin requested review from kripken and tlively December 12, 2023 02:39
@aheejin aheejin enabled auto-merge (squash) December 12, 2023 02:39
@aheejin aheejin disabled auto-merge December 12, 2023 02:40
@aheejin aheejin enabled auto-merge (squash) December 12, 2023 02:40
@aheejin aheejin merged commit ee113c7 into WebAssembly:main Dec 12, 2023
14 checks passed
@aheejin aheejin deleted the fix_wasm2js_failure branch December 12, 2023 03:19
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
I tried to exclude wasm2js asserts tests from `check_for_stale_files` in
 WebAssembly#6164, but ended up doing it incorrectly. The file I checked for was
`wasm2js.wast.asserts`, while the output I should have excluded was
`wasm2js.asserts.js`. This fixes the code so we now check the prefix and
not the filename.
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