summaryrefslogtreecommitdiff
path: root/ocamltest/options.mli
Commit message (Collapse)AuthorAgeFilesLines
* New script language for ocamltest (#12185)Damien Doligez2023-04-251-0/+4
| | | | New test script language, all tests translated automatically (see `tools/translate-all-tests`).
* Add -show-timings option to ocamltestDavid Allsopp2021-12-231-0/+2
| | | | Dumps the wall-clock time for each test _file_
* ocamltest: add option -timeout and "timeout" variableXavier Leroy2021-01-051-0/+2
| | | | | | | | | | | | | | This option sets a timeout (in seconds) that is applied to every external command run from ocamltest. It is useful to catch test that don't terminate and report them as failing. This is implemented by an ocamltest variable called "timeout" whose initial value is that given by the -timeout option, or 0 (no timeout) otherwise. Co-authored-by: Gabriel Scherer <gabriel.scherer@gmail.com>
* Hide references in Options implementationNicolás Ojeda Bär2020-05-271-6/+6
|
* ocamltest: opt-in -keep-test-dir-on-success to keep test data on successGabriel Scherer2020-04-021-0/+2
|
* Add ocamltest -find-test-dirs and -list-tests optionsNicolás Ojeda Bär2019-09-281-0/+4
|
* ocamltest: implement a -promote optionGabriel Scherer2018-02-071-0/+2
| | | | | | | | | | | | | | | | | | | | | When -promote is set, running the test automatically overwrites each reference output file with the actual output of the test. This option, which mirrors the "make promote" target of old-style testsuite tests, is very useful when a minor change in compiler/toplevel output affects a lot of reference files in innocuous ways. This is the only option of ocamltest that overwrites file in the source directory, so it should be used with care -- under strict version-control supervision. The 'make promote' target is not yet supported for new-style testsuite tests, as this feature depends on the not-yet-merged GPR#1574 https://github.com/ocaml/ocaml/pull/1574 For a previous discussions of this feature, see GPR#1519 https://github.com/ocaml/ocaml/pull/1519
* ocamltest: refactoring and implementation of hooksSébastien Hinderer2017-11-231-1/+3
|
* ocamltest: the test driver for the OCaml compilerSébastien Hinderer2017-09-181-0/+20
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.