In the distribution sample programs and tests are located in the test directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
However, there is no tests directory and this command doesn't work:
tal@Thomass-MBP ~/s/ansi-parse> ocamlbuild -use-ocamlfind test.otarget
Solver failed:
Ocamlbuild knows of no rules that apply to a target named test.itarget. This can happen if you ask Ocamlbuild to build a target with the wrong extension (e.g. .opt instead of .native) or if the source files live in directories that have not been specified as include directories.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.
The README says:
However, there is no
tests
directory and this command doesn't work: