From 9edb0160899216af6fccd228ddedd7e9978c54e4 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Sat, 13 Dec 2025 03:04:39 +0100 Subject: chore(task): add test:suite task --- 2025/ocaml/Taskfile.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '2025/ocaml') 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: -- cgit v1.2.3