Skip to content

make test failure and other compilation errors #225

Open
@aryx

Description

I did make setup, and make build, but then make test fails with:

...
eq: Generating initial 'grammar.json' from 'grammar.js'.
seq: Simplifying 'grammar.json' for ocaml-tree-sitter.
ocaml-tree-sitter: too many arguments, don't know what to do with `src/grammar.json'
Usage: ocaml-tree-sitter [OPTION]... LANG GRAMMAR_JSON
Try `ocaml-tree-sitter --help' for more information.
make[6]: *** [Makefile:48: src/grammar.json] Error 1
make[6]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core/test/seq'
make[5]: *** [Makefile:26: gen] Error 2
make[5]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core/test/seq'
make[4]: *** [Makefile:19: build] Error 2
make[4]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core/test/seq'
make[3]: *** [Makefile:24: test] Error 2
make[3]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core/test'
make[2]: *** [Makefile:57: e2e] Error 2
make[2]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core'
make[1]: *** [Makefile:47: test] Error 2
make[1]: Leaving directory '/home/pad/github/ocaml-tree-sitter-semgrep/core'
make: *** [Makefile:43: test] Error 2

Metadata

Assignees

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