Skip to content

Most lit/help tests fail with new python-filecheck #9018

Description

@rathann

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions