Commit Graph

6 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 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 3cedaaed4d ocamltest: add a compiler method to the toplevel class
When a toplevel test consists in more than one file, it is necessary to
compile the auxiliary files so that they can then be loaded into the toplevel.
This method stores for each toplevel the compiler to use to do this.
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