OUnitRunner.GenericWorker
Build worker based runner.
val string_of_message_to_worker : message_to_worker -> string
type message_from_worker =
| AckExit
| Log of OUnitTest.log_event_t
| Lock of int
| Unlock of int
| TestDone of OUnitTest.result_full * OUnitTest.result_list
val string_of_message_from_worker : message_from_worker -> string
module MapPath : sig ... end
type map_test_cases =
(OUnitTest.path * OUnitTest.test_length * (OUnitTest.ctxt -> unit)) MapPath.t
type worker_channel = (message_from_worker, message_to_worker) channel
val main_worker_loop :
yield:(unit -> 'a) ->
shard_id:string ->
worker_log_file:bool ->
OUnitConf.conf ->
worker_channel ->
map_test_cases ->
unit
type 'a worker = {
channel : (message_to_worker, message_from_worker) channel;
close_worker : unit -> string option;
select_fd : 'a;
shard_id : string;
is_running : unit -> bool;
}
type 'a worker_creator =
shard_id:string ->
master_id:string ->
worker_log_file:bool ->
OUnitConf.conf ->
map_test_cases ->
'a worker
val runner : 'a worker_creator -> 'a0 workers_waiting_selector -> runner