mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 04:43:18 +03:00
138d9e545d
1. Adds the `--log-level LOG_LEVEL` flag to the CLI. This flag can be given `error`, `warn`, `info`, `progress`, `debug` as argument to filter the logged messages. 2. Removes the `--only-errors` flag. 3. Adds the `--ide-end-error-char CHAR`, which receives a character as an argument, which is appended to the end of error messages. This is handy to facilitate parsing of errors messages from the ide. This functionality was previously embeded in the old `--only-errors` flag.
21 lines
376 B
YAML
21 lines
376 B
YAML
working-directory: ./../../../tests/
|
|
|
|
tests:
|
|
- name: eval-file
|
|
command:
|
|
- juvix
|
|
- eval
|
|
- Compilation/positive/test001.juvix
|
|
stdin: ""
|
|
stdout: "11\n"
|
|
exit-status: 0
|
|
|
|
- name: eval-no-main
|
|
command:
|
|
- juvix
|
|
- eval
|
|
- positive/LambdaCalculus.juvix
|
|
stdin: ""
|
|
stderr: "function not found: main\n"
|
|
exit-status: 1
|