upstream: github.com/mirleft/ocaml-tls
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-tls: add mock_rng and mock_socket to test_helpers library

The mock modules already exist in test/helpers/ but weren't listed in
the dune file. Add them to the library and update eio/tests/dune to
reference test_helpers (which provides Mock_rng and Mock_socket used
by fuzz.ml) with explicit modules field.

+4 -3
+2 -1
eio/tests/dune
··· 27 27 28 28 (test 29 29 (package tls-eio) 30 - (libraries crowbar tls-eio eio.mock logs logs.fmt crypto-rng) 30 + (libraries crowbar tls-eio eio.mock logs logs.fmt crypto-rng test_helpers) 31 + (modules fuzz) 31 32 (deps server.pem server.key) 32 33 (name fuzz) 33 34 (action
+2 -2
test/helpers/dune
··· 1 1 (library 2 2 (name test_helpers) 3 3 (wrapped false) 4 - (modules test_helpers) 5 - (libraries tls alcotest crypto-rng.unix ohex domain-name)) 4 + (modules test_helpers mock_rng mock_socket) 5 + (libraries tls alcotest crypto-rng crypto-rng.unix eio ohex domain-name))