diff options
Diffstat (limited to '2025')
| -rw-r--r-- | 2025/ocaml/Taskfile.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2025/ocaml/Taskfile.yaml b/2025/ocaml/Taskfile.yaml index 7496067..e79cf9e 100644 --- a/2025/ocaml/Taskfile.yaml +++ b/2025/ocaml/Taskfile.yaml @@ -51,6 +51,18 @@ tasks: - cmd: dune runtest --instrument-with bisect_ppx --force {{.CLI_ARGS}} - cmd: bisect-ppx-report html + test:suite: + desc: Run a singluar test suite, e.g. `task test:suite SUITE=test/domain/d01p01` + preconditions: + - command -v dune + deps: + - task: build + requires: + vars: + - SUITE + cmds: + - cmd: dune exec {{.SUITE}}.exe -- {{.CLI_ARGS}} + build: desc: Builds the project preconditions: |
