Skip to content

[wasm-split] Don't use update_lit_checks.py for some tests - #9061

Merged
aheejin merged 1 commit into
mainfrom
wasm_split_test_no_auto
Aug 31, 2026
Merged

[wasm-split] Don't use update_lit_checks.py for some tests#9061
aheejin merged 1 commit into
mainfrom
wasm_split_test_no_auto

Conversation

@aheejin

@aheejin aheejin commented Aug 31, 2026

Copy link
Copy Markdown
Member

update_lit_checks.py doesn't always work well with wasm-split. For example, for some tests, the test CHECK lines are mixed like this after running it:

;; PRIMARY: ...
;; SECONDARY: ....
;; PRIMARY: ...
;; SECONDARY: ...

A follow-up PR will change these two test files' CHECK lines to be mixed when using update_lit_checks.py, and making them not use in that PR will make it hard to see what actually change in that PR. To make the next PR's diff tidy, this makes a few tests not use the auto-updating script.

This also adds -all to transtiive-globals-multi.wast to be consistent with other transitive-globals*.wast tests.

@aheejin
aheejin requested a review from tlively August 31, 2026 22:39
@aheejin
aheejin requested a review from a team as a code owner August 31, 2026 22:39
`update_lit_checks.py` doesn't always work well with wasm-split. For
example, for some tests, the test CHECK lines are mixed like this after
running it:
```wast
;; PRIMARY: ...
;; SECONDARY: ....
;; PRIMARY: ...
;; SECONDARY: ...
```

A follow-up PR will change these two test files' CHECK lines to be mixed
when using `update_lit_checks.py`, and making them not use in that PR
will make it hard to see what actually change in that PR. To make the
next PR's diff tidy, this makes a few tests not use the auto-updating
script.

This also adds `-all` to `transtiive-globals-multi.wast` to be
consistent with other `transitive-globals*.wast` tests.
@aheejin
aheejin force-pushed the wasm_split_test_no_auto branch from 9190d09 to 015d6ad Compare August 31, 2026 22:40

@tlively tlively left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but I wonder if it may be worth vibe coding a new flag on update_lit_checks.py telling it to collect all the output at the bottom of the file. That way we could still get automatic updates for this test output.

@aheejin

aheejin commented Aug 31, 2026

Copy link
Copy Markdown
Member Author

That's a good idea. We should probably try that sometime...

@aheejin
aheejin merged commit 3a46a6c into main Aug 31, 2026
16 checks passed
@aheejin
aheejin deleted the wasm_split_test_no_auto branch August 31, 2026 23:18
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