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

Configure Feed

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

fix(fuzz): add fuzz_tls.mli and corpus dep to pass E705/E724 lint rules

- Add fuzz_tls.mli exporting suite : string * Crowbar.test_case list (E705)
- Bundle suite name into the suite value; update fuzz.ml accordingly
- Add (source_tree corpus) dep to fuzz alias rule (E724); corpus is
created on demand by gen_corpus.exe like all other fuzz targets

+11 -3
+6 -1
eio/tests/fuzz/dune
··· 29 29 (alias fuzz) 30 30 (enabled_if 31 31 (= %{profile} afl)) 32 - (deps fuzz.exe gen_corpus.exe server.pem server.key) 32 + (deps 33 + (source_tree corpus) 34 + fuzz.exe 35 + gen_corpus.exe 36 + server.pem 37 + server.key) 33 38 (action 34 39 (progn 35 40 (run %{exe:gen_corpus.exe})
+1 -1
eio/tests/fuzz/fuzz.ml
··· 1 1 let () = 2 2 Logs.set_level (Some Warning); 3 3 Logs.set_reporter (Logs_fmt.reporter ()); 4 - Crowbar.(run "tls" [ ("tls", Fuzz_tls.suite) ]) 4 + Crowbar.(run "tls" [ Fuzz_tls.suite ])
+3 -1
eio/tests/fuzz/fuzz_tls.ml
··· 317 317 ] 318 318 319 319 let suite = 320 - Crowbar.[ test_case "random ops" [ bytes; bytes; bool; list action ] main ] 320 + ( "tls", 321 + Crowbar.[ test_case "random ops" [ bytes; bytes; bool; list action ] main ] 322 + )
+1
eio/tests/fuzz/fuzz_tls.mli
··· 1 + val suite : string * Crowbar.test_case list