Closed jmid closed 1 year ago
This PR adds property-based tests from the multicoretests repository, now that qcheck-stm.0.1.0 has been released.
qcheck-stm.0.1.0
There are four files of property-based tests
test/chan_stm_tests.ml
STM
Chan
test/task_parallel.ml
test/task_one_dep.ml
pool
test/task_more_deps.ml
The latter two generates a suitable random dependency graph represented as an array.
For context:
Thanks @jmid!
This PR adds property-based tests from the multicoretests repository, now that
qcheck-stm.0.1.0
has been released.There are four files of property-based tests
test/chan_stm_tests.ml
contains a model-basedSTM
test ofChan
running both sequentially and in paralleltest/task_parallel.ml
contains tests for the different parallel for-loopstest/task_one_dep.ml
contains randomized task tests, where each task has only one dependency (in differentpool
variants)test/task_more_deps.ml
contains randomized task tests, where each task can have several dependenciesThe latter two generates a suitable random dependency graph represented as an array.
For context:
47 motivated developing these initial
test/task_one_dep.ml
teststest/task_one_dep.ml
rediscovered #58test/task_parallel.ml
found #67