Commit Graph

16307 Commits (52919a734014e0d03801c396157e70794def3a18)

Author SHA1 Message Date
Xavier Clerc 52919a7340 Make the `check_all_arches` target no-op on 32-bit architectures. (#1671) 2018-03-20 15:33:58 +00:00
Sébastien Hinderer 23a6845929 ocamldebug: add a few commandline options
This commit adds the following options to ocamldebug:
 * -no-prompt: suppress all prompts
 * -no-version: do not print version at startup
 * -no-time: do not print times
 * -no-breakpoint: do not print message at breakpoint setup and removal
 * -topdirs-path: set path to the directory containing topdirs.cmi
2018-03-20 16:00:41 +01:00
Sébastien Hinderer 7d5e40c102 Improve naming in testsuite/tests/lib-unix/common/redirections.ml
The function argument ocamlrunparam should actually be called systemenv.
2018-03-19 16:33:34 +01:00
Sébastien Hinderer 7a0c95c7ae Fix the lib-unix/common/redirections.ml test
Since the reflector auxiliary program used by this test is now
written in OCaml rather than in C, the redirections father process
must take care to pass on OCAMLRUNPARAM, othewise the test fails
when run with the debug runtime.
2018-03-19 10:05:54 +01:00
Sébastien Hinderer 2160aace87 ocamltest: export environment to more external commands 2018-03-19 08:42:43 +01:00
Sébastien Hinderer ca4fa29645 Migrate the typing-rectypes-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer 36e611e7a8 Migrate the typing-recmod tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer 76bb01ae44 Migrate the typing-private-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer 79dd370d4c Migrate the typing-polyvariants-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer 516bfd192b Migrate the typing-poly-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer df471e01e4 Migrate the typing-objects-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer 8caa2c8e10 Migrate the typing-modules-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Sébastien Hinderer b752835ffc Migrate the typing-misc-bugs tests to ocamltest 2018-03-18 22:24:46 +01:00
Florian Angeletti 6d65f789f0
manual: record and variant disambiguation (#1647)
This commit adds a subsection to the record and variant section of the manual describing the behavior of the type-directed disambiguation of variant constructors and record fields.
2018-03-18 20:50:56 +01:00
Sébastien Hinderer 56c7302dbb Migrate the float-unboxing test to ocamltest 2018-03-18 12:11:46 +01:00
Sébastien Hinderer 12a2695ddf Migrate the lib-unix/win-symlink test to ocamltest 2018-03-18 11:20:16 +01:00
Sébastien Hinderer d3f2d8b478 Migrate the lib-unix/win-stat test to ocamltest 2018-03-18 11:20:16 +01:00
Sébastien Hinderer e3074fbe04 Migrate the lib-unix/win-env test to ocamltest 2018-03-18 11:20:16 +01:00
Sébastien Hinderer 84d0d69717 Migrate the lib-unix/isatty tests to ocamltest 2018-03-18 11:20:16 +01:00
Sébastien Hinderer fd05a7572b Migrate the lib-unix/common tests to ocamltest 2018-03-18 11:20:01 +01:00
Florian Angeletti 02326ad0f4
Merge pull request #1662 from Octachron/ocamldoc_nostdlib
ocamldoc: honour nostdlib flag
2018-03-17 02:02:19 +01:00
octachron c68da34001 ocamldoc: honour the -nostdlib flag 2018-03-17 00:51:38 +01:00
Simon Cruanes df80f34a92 Stdlib functional iterators (#1002)
* add `Seq` module, expose iterator conversions in most containers

* small typo

* typo

* change order of arguments for `{Map,Set}.add_seq`

* watch for max string length in `Bytes.of_seq`

* wip: make it build again

* Fix dependency

Sys needs to be linked before Bytes in stdlib.

* Update threads/stdlib.ml

* Update stdlib_no_prefixed/.depend

* fix inconsistencies with label modules

* update testsuite to work with seq

* update change file

* small change in `Hashtbl.to_seq`, capturing only the underlying array

* add some documentation to seq.mli

* revert to good ol' module type names for hashtables

* fix test

* change style of comments in seq.mli

* follow some demands in review of GPR #1002

* some fixes for #1002

* add Seq-related functions to Ephemeron

* add some comments on `Hashtbl.of_seq`

* add more tests for `Hashtbl.{to,of}_seq`

* fix bug in `Ephemeron.to_seq`

* Update Changes
2018-03-16 18:25:10 +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 1f24a7589c ocamltest: define the compiler_stdin variable 2018-03-16 07:40:58 +01:00
Sébastien Hinderer cc96f887e6 ocamltest: simplify / fix the builtin run action
- Stop adding the output variable to the environment

- Take stdout and stderr into acocunt if they have been defined
2018-03-16 07:40:58 +01:00
Sébastien Hinderer a32a0f3922 ocamltest: translate "/dev/null" to "NUL" on Windows 2018-03-16 07:40:58 +01:00
Sébastien Hinderer 2a7a7deeff ocamltest: bug fix: register the caml_ld_library_path variable 2018-03-16 07:40:58 +01:00
Sébastien Hinderer c715d93da5 ocamltest: Makefile improvements
- Use := everywhere
- Merge two ifeq blocks
2018-03-16 07:40:58 +01:00
Sébastien Hinderer 94fbfe2e79 Fix name of ocamltest program in tools/ci-build 2018-03-16 07:40:58 +01:00
Nicolás Ojeda Bär 37541310b4
Merge pull request #1653 from nojb/deprecate_thread_option
Deprecate -thread option
2018-03-16 06:31:37 +01:00
Nicolás Ojeda Bär 4724e3914e
Merge pull request #1638 from nojb/float_module
Add Stdlib.Float module
2018-03-16 06:21:55 +01:00
Nicolás Ojeda Bär 30fc788062
Merge pull request #1659 from nojb/safe-string2
Rebase of #1617 (make string/bytes distinguishable in bytecode)
2018-03-15 20:42:50 +01:00
Nicolás Ojeda Bär 6c1bec42c7 Deprecate -thread option, equivalent to -I +threads 2018-03-15 18:37:02 +01:00
Nicolás Ojeda Bär 5833954ecd Remove unwanted diff 2018-03-15 18:26:53 +01:00
Nicolás Ojeda Bär 2f6ffb138e Rename epsilon_float -> epsilon 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär 94dc90d735 Add missing manual entries 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär a36e1e70d4 Copyright 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär b27733747c Add manual entry 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär 8bb6d26e50 Add Float.hash 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär 6f8419eeed Changes 2018-03-15 18:26:51 +01:00
Nicolás Ojeda Bär 242b6f20a1 make depend 2018-03-15 18:26:51 +01:00
Nicolás Ojeda Bär 8b396af99b Add Float.Array module 2018-03-15 18:26:51 +01:00
Nicolás Ojeda Bär 7f6d059f08 Add Float module 2018-03-15 18:26:51 +01:00
Hugo Heuzard 83a28238c8 CHANGES 2018-03-15 18:25:51 +01:00
Nicolás Ojeda Bär 3620f00243 coreboot 2018-03-15 18:25:31 +01:00
Hugo Heuzard 427802db7e fix tests 2018-03-15 18:25:31 +01:00
Hugo Heuzard fe3dccb7c7 remove unused primitives 2018-03-15 18:25:31 +01:00
Nicolás Ojeda Bär 534e3270fa coreboot 2018-03-15 18:25:31 +01:00
Hugo Heuzard e227fb007d fix primitives for marshal 2018-03-15 18:25:31 +01:00