Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Most lit/help tests fail with new python-filecheck

Open Beginner friendly
#9,018 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
wasm

Research direction

Start in test/lit/help, where the wasm* help-output tests use FileCheck directives. Run the wasm-shell example with filecheck 1.0.3, then inspect the other lit/help tests for empty CHECK-NEXT directives. Done means the affected help tests pass with the new upstream FileCheck behavior.

Written by the indexing model from the issue text.

Description

In binaryen lit tests, filecheck is used to test the --help output of various wasm* tools.

With filecheck-0.0.24, the following test passes:

$ wasm-shell --help | filecheck help/wasm-shell.test
$ 

However, with filecheck-1.0.3 from the new upstream repo, it fails:

$ wasm-shell --help | filecheck help/wasm-shell.test
help/wasm-shell.test:4:9 found empty check string with prefix 'NEXT:'
;; CHECK-NEXT:
        ^
$

New upstream says the new behaviour is closer to the original filecheck and recommends using CHECK-EMPTY instead of CHECK-NEXT.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
2d 4h
Merged PRs (30d)
77

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WebAssembly/binaryen

All issues in WebAssembly/binaryen

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.