Commit Graph

6 Commits (9e181ca8f446d238ba279bc22fef9d166d4f38b0)

Author SHA1 Message Date
Nicolás Ojeda Bär 6c311f3007 stop passing the constant ocamlsrcdir to each function 2020-05-27 19:19:22 +02:00
octachron ece7e44d1a ocamltest: machinery for ocamldoc tests
* a new test ocamldoc
* three new modifiers: html, latex and man for each ocamldoc backend
* new variables:
   * plugins
   * skip_header_lines, skip_header_bytes
   * ocamldoc_{backend,exit_status,flags,output,reference}
* make it possible to skip lines in the result file in text mode
* check_output reads skip_header_{lines,bytes} when comparing
output and reference files
2018-03-06 11:58:10 +01:00
Sébastien Hinderer 95c80b19fd ocamltest: make it possible to specify an exit status for programs
This makes it possible to specify that a program is expected to
return a non-zero exit status
2018-02-28 21:03:44 +01:00
Sébastien Hinderer c5ea4aa83a ocamltest: add a family method to the tool class
It represents the type of tool in a printable way.
The compiler subclass sets it to "compiler" and the toplevel
subclass sets it to "toplevel".
2018-02-27 18:32:32 +01:00
Sébastien Hinderer d00beb71e3 ocamltest: distinguish toplevels from compilers 2018-02-27 18:32:32 +01:00
Sébastien Hinderer c36849d915 ocamltest: define the compilers with classes
This commit also introduces the ocaml_tools module.
2018-02-27 18:32:32 +01:00