Commit Graph

11 Commits (9e181ca8f446d238ba279bc22fef9d166d4f38b0)

Author SHA1 Message Date
Nicolás Ojeda Bär 6ff2c11b25 ocamltest: do not overwrite user-defined variables 2020-06-05 07:40:17 +02:00
Sébastien Hinderer 47c887584d ocamltest: take parsing of response files out of environments module
This commit is a follow-up to 123334881a.

Its purpose is to make the environments module abstract again,
by moving the parsing mechanism in its own module.
Consequently, the environments module can be linked earlier again (as
was the case before the commit mentionned above) and can thus be
used in other modules.
2019-09-26 17:44:22 +02:00
Damien Doligez 123334881a Harden ocamltest against errors in scripts and hooks 2019-04-02 17:24:16 +02:00
Sébastien Hinderer 20dda32e78 ocamltest: make expansion of variables recursive
No attempt at detecting cycles is performed.
2018-03-22 18:34:57 +01:00
Sébastien Hinderer 3a4c5b9dd8 ocamltest: add the add_if_undefined function to environments 2018-02-27 18:32:32 +01:00
Sébastien Hinderer ae2da9b80d ocamltest: let each variable specify how to export it to system env 2018-02-27 18:32:32 +01:00
Sébastien Hinderer f0e2b2c463 ocamltest: expand variables before exporting them to system env 2018-02-20 08:30:46 +01:00
Sébastien Hinderer 689a3e1edb ocamltest: use the module variable only if it is not empty 2018-02-19 15:49:12 +01:00
Gabriel Scherer 05ac9d329e ocamltest: helper Environments function for boolean variables 2018-02-07 13:51:42 +01:00
Sébastien Hinderer f0b9b8e9c4 ocamltest: refactoring and implementation of hooks 2017-11-23 17:04:46 +01:00
Sébastien Hinderer 635b5edcc1 ocamltest: the test driver for the OCaml compiler
This commit contains:

- The initial version of the tool itself, in the ocamltest directory
- The required additions to the main .gitignore and .merlin files.

The integration of ocamltest in OCaml's main build system and its use
in the testsuite are not part of this commit.

Credits go to David Allsopp for
- Extending the computation of ocamlsrcdir to the Windows case
- Making ocamltest compile when flexlink
is being bootstrapped.
2017-09-18 17:40:14 +02:00