1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-04 17:07:28 +03:00
juvix/tests/smoke/Commands/version-help-doctor.smoke.yaml
2023-01-19 15:44:25 +01:00

38 lines
747 B
YAML

tests:
- name: cli-flag-version
command:
- juvix
- --version
exit-status: 0
stdout:
matches:
regex: |-
^Juvix version 0.2.9-([a-f0-9]{7}).*
- name: cli-flag-help
command:
- juvix
- --help
exit-status: 0
stdout:
matches:
regex: |-
^Usage: juvix .*
- name: cli-cmd-doctor
command:
- juvix
- doctor
- --offline
exit-status: 0
stdout: |
> Checking for clang...
> Checking clang version...
> Checking for wasm-ld...
> Checking that clang supports wasm32...
> Checking that clang supports wasm32-wasi...
> Checking that WASI_SYSROOT_PATH is set...
> Checking for wasmer...