Releases: ocaml-multicore/multicoretests
0.11
This release is purely a test suite update to get it all green with the latest ocaml/ocaml trunk.
As the test libraries are identical to those of the 0.10 release, 0.11 will not published on the opam repositoty:
- #571: Adjust the exception matched in
domain/domain_spawntree.mlto build
with latest ocaml/ocamltrunk(test suite update)
0.10
This release is primarily a test suite update, with #567 adjusting the Gc.stat stack_size check after it has been restored on trunk. The release also bumps the dune lower bound to 3.18 to utilize its functionality to generate x-maintenance-intent entries:
- #570: Use dune.3.18 support to generate
x-maintenance-intententries
0.9
The 0.9 release contains adjustments to the public interface of Lin in order to make it compatible with 5.5.0+trunk
and also switches the Util.Pp pretty printers to use QCheck.Print for consistency:
- #566: Use
QCheck.Printcombinators inUtil.Pptoo for consistency,
e.g., to avoid thatSTMargument and result printer outputs differ. - #562: Fix the
int32andint64printers in bothLinandSTMto add
missinglandLsuffixes on literals. - #560: Change
Lin.{constructible,deconstructible}from an empty variant type
to an abstract type to getLincompiling on5.5.0+trunkagain, due
to ocaml/ocaml#13994 removing special handling
of abstract and empty variants defined in the current module.
0.8
The 0.8 release improves the error finding ability of the Lin_thread and STM_thread modes:
0.7
This release contains two contributions from @polytypic, incl. an STM feature to help testing of cmds that may raise an effect:
0.6
0.5
The biggest news in the 0.5 release is the addition of Util.Pp.pp_fun_ for printing function values generated with QCheck.
To ensure quoted and escaped output for chars and strings, this required bumping the qcheck-core lower bound to the freshly released qcheck-core.0.23. This in turn, enabled a couple of other clean-ups:
0.4
The 0.4 release brings two new "stress test" functions and also adjusts the cmd list distribution of STM_sequential:
- #415: Remove
--verbosein internalmutable_set_v5expect test to avoid a test failure on a slow machine - #443: Add
Lin_domain.stress_testas a lighter stress test, not requiring an interleaving search. - #462: Add
STM_domain.stress_test_par, similar toLin_domain.stress_testfor STM models. - #472: Switch
arb_cmdsto use an exponential distribution with a mean of 10, avoiding lists of up to 10000 cmds inSTM_sequential(reported by @nikolaushuber).
0.3
The 0.3 release brings 3 "usability improvements" to STM and Util
and a Lin search improvement that should reduce memory allocation.
- #400: Catch and delay exceptions in
STM'snext_statefor a nicer UX - #387: Reduce needless allocations in
Lin's sequential consistency
search, as part of anOut_channeltest cleanup - #379: Extend the set of
Util.Pppretty-printers and teach them to
add break hints similar toppx_deriving.show; teachto_showto
generate truncated strings when$MCTUTILS_TRUNCATEenvironment
variable is set - #368: Switch
STM_domain.agree_prop_par_asymfrom using
Semaphore.Binaryto using anint Atomic.twhich improves
the error rate across platforms and backends
0.2
This release adds a range of features and bugfixes:
- #342: Add two submodules of combinators in
Util:Ppto pretty-print values back to valid OCaml syntaxEqualto test equality of values
- #337: Add 3
Bytes.tcombinators toLin:bytes,bytes_small,bytes_small_printable - #329,340,352: Support
qcheck-linandqcheck-stmon OCaml 4.12.x, 4.13.x and 4.14.x
without theDomainandEffectmodes - #316: Fix
rep_countinSTM_threadso that negative and positive
tests repeat equally many times - #318: avoid repetitive interleaving searches in
STM_domainandSTM_thread - #312: Escape and quote
bytesprinted withSTM'sbytescombinator - #295: ensure
cleanupis run in the presence of exceptions inSTM_sequential.agree_propandSTM_domain.agree_prop_parLin_thread.lin_propandLin_effect.lin_prop