Commit Graph

12 Commits (master)

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
Sébastien Hinderer 494757e5ae ocamltest: compiler and toplevel classes enhancements
In the compiler class, replace the backend and is_native methods
by host and target ones.

In the toplevel class, get rid of the is_native method which is useless
at the moment.
2018-02-27 18:32:32 +01:00
Sébastien Hinderer 3ecb6b8e13 ocamltest: various minor simplifications, cleanups and fixes 2018-02-27 18:32:32 +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 24872924ce ocamltest: add methods to the compiler class
Add the program_variable and program_output_varibles methods to the
compiler class.
2018-02-27 18:32:32 +01:00
Sébastien Hinderer 1f43fc3a5e ocamltest: remove the is_toplevel field from compiler and toplevel classes
This field has become useless
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
Sébastien Hinderer 50367061e0 ocamltest: fix typo in field name 2018-02-27 18:32:32 +01:00
Sébastien Hinderer 0ed100758a ocamltest: add the is_toplevel and is_native fields to compiler description 2018-02-27 18:32:32 +01:00
Sébastien Hinderer 248b9fcb0d ocamltest: rely on our own backend type
Use a backend type with only two constructors rather than the one provided
by the stdlib. This avoids having to deal with the "Other" case.
2018-02-07 17:24:25 +01:00
Sébastien Hinderer 8ae50ef1d6 ocamltest: introduce the ocaml_compilers module 2018-01-31 09:14:43 +01:00