Repository activity
40458 results across all weeks
test(trace): cover malformed and incomplete events
Extend the trace cram tests to cover malformed event structures and incomplete process events. Check rejection of invalid event fields, current handling of invalid exit values, exit-code fallback rendering, and omission of events without a program.
Rudi Grinberg (@rgrinberg)test(trace): demonstrate missing S-expression atom escaping
Add a regression test for dune trace cat --sexp with atoms containing quotes, backslashes, control characters, and a high byte.
Rudi Grinberg (@rgrinberg)test(virtual-libraries): cover default implementation cycles
Extend the default-implementation cram test with a dependency cycle through two virtual libraries, with neither implementation selected explicitly. Check that Dune reports the default implementation cycle and the dependency chain leading to the executable.
Rudi Grinberg (@rgrinberg)test(watch): cover partial outputs from failed unsandboxed actions
Extend the RPC watch-mode failure test with an explicitly unsandboxed action that writes file and directory targets before failing.
Rudi Grinberg (@rgrinberg)test(watch): cover unsandboxed RPC cancellation
Exercise an RPC-client disconnect during an unsandboxed rule with two file targets and a directory target, followed by an unrelated successful rule.
Rudi Grinberg (@rgrinberg)test(watch): reproduce a lost sync notification on overflow
Add a Linux-only regression test for #16625 using strace to replace the first sync-file notification with an inotify overflow and suppress its close notification.
Rudi Grinberg (@rgrinberg)test(workspace): cover duplicate contexts and missing files
Extend the workspace context-name test to reject duplicate names with a location pointing to the second definition. Also check that an explicitly requested missing workspace file is reported as an error rather than falling back to the workspace file in the current directory.
Rudi Grinberg (@rgrinberg)test: remove incidental ordering assumptions
Make two existing blackbox tests independent of incidental rule ordering:
Rudi Grinberg (@rgrinberg)test: stabilize unordered promotion and cycle diagnostics
Stabilize two order-sensitive blackbox tests: sort the combined dune promotion show output, and enter the executable module-dependency cycle through a single dependency.
Rudi Grinberg (@rgrinberg)test: verify periodic status-line refresh
Adds a cram regression test for #16220: during a silent, long-running build, the elapsed time in the status line does not advance without another scheduler event.
Ali Caglayan (@Alizter)Bump cachix/install-nix-action from 31.11.1 to 31.11.2
Bumps cachix/install-nix-action from 31.11.1 to 31.11.2.
Dependabot (@dependabot)Fatal error: exception Invalid_argument("Ppxlib.Longident.parse(empty string): \"\"") when running merl-an on vscode-ocaml-platform
When running merl-an on vscode-ocaml-platform we get the following error: Fatal error: exception Invalid_argument("Ppxlib.Longident.parse(empty string): """)
PixieDust (@PizieDust)Inconsistent cmi cache
This reproduces and fixes a caching issue due to the fact that inconsistent cmi were not remembered in the cache, preventing correct invalidation when they change.
Ulysse (@voodoos)Index regression test and fix
Thanks @liam923 for the reproduction.
Ulysse (@voodoos)Two additionnal cache-related tests
Tests provided by @liam923, the issues are not reproducible on main.
Ulysse (@voodoos)Add `Atomic.compare_and_exchange`
Currently we have the Atomic.compare_and_set primitive. It would be nice to also have Atomic.compare_and_exchange as it also often found as a primitive in the description of multiprocessor algorithms and in other APIs (e.g. C++, guile).
Daniel Bünzli (@dbuenzli)Add ocamldep `-strict` flag
Adds a -strict flag to ocamldep which makes it exit with a non-zero code whenever an error occurs (file does not exist, parse error, etc). In case of error, no output is generated.
Nicolás Ojeda Bär (@nojb)Add support for powerpc64*-unknown-freebsd
Add support to configure to powerpc* on FreeBSD.
Piotr Kubaj (@pkubaj)Add tests for more bytecode optimization hints
Cover the hints on block allocations (MAKEBLOCK, MAKEFLOATBLOCK), array lengths, closure allocations (parameter and result kinds, inline attributes, functors, mutually recursive closures) and C calls (unsafe string, bytes and bigstring accesses, bigarray accesses, boxed integer comparisons and primitives with a distinct native implementation).
Jérôme Vouillon (@vouillon)Add utf8_lexeme to the ocamlcommon modules in the dune file
Utf8_lexeme was extracted from Misc in #15023, which updated the Makefile but not the dune rules, so dune build @libs failed with "Unbound module Utf8_lexeme" in misc, unit_info, lexer, oprint and env.
Tim McGilchrist (@tmcgilchrist)