Commit Graph

14 Commits (master)

Author SHA1 Message Date
David Allsopp a651a82488 Fix handling of EOL-at-EOF in ocamltest 2020-07-25 10:04:31 +01:00
David Allsopp 8b80c57fb2 Remove use of ln -sf from ocamltest
Implemented ln -sfT exactly on Unix and almost exactly on Windows.
2020-07-23 15:05:00 +01:00
David Allsopp fc0abfaad8 Remove use of rm -rf from ocamltest 2020-07-23 15:04:49 +01:00
David Allsopp 9bc33d945a Add Ocamltest_stdlib.Unix.has_symlink
Replaces the duplicated C stub. Functions from Unix must be explictly
imported.
2020-07-23 14:55:36 +01:00
Nicolás Ojeda Bär 7f0dbd4e65
ocamltest: show failing logs (#9696) 2020-06-23 20:47:38 +02:00
Nicolás Ojeda Bär 73aa6126a7 Use with_{input,output}_file 2020-05-27 19:19:22 +02:00
Nicolás Ojeda Bär 3eebf1ab8c Use Filename.quote_command 2020-05-27 19:19:22 +02:00
Gabriel Scherer 4710eb2114 ocamltest: fix "promote" actions on reference files with skipped lines/bytes 2019-09-03 11:43:55 +02:00
Gabriel Radanne 1be47bf7ab Just some tbl things. (#1699) 2018-07-23 13:19:41 +01:00
Sébastien Hinderer fab457a8f5 ocamltest: implement the has_symlink test
Lets one test whether symlinks are available on the target platform
2018-03-16 07:40:58 +01:00
Sébastien Hinderer dad2b57dce ocamltest: introduce the force_remove function
It checks whether a file exists before removing it.
2018-02-27 18:32:32 +01:00
Sébastien Hinderer a57ba47265 ocamltest: add more system environment lookup functions to stdlib 2018-02-27 18:32:32 +01:00
Nicolas Ojeda Bar 5bde185641 ocamltest: restore cwd after chdir 2017-12-05 17:18:36 +01:00
Sébastien Hinderer f0b9b8e9c4 ocamltest: refactoring and implementation of hooks 2017-11-23 17:04:46 +01:00