This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,4 @@
(test
(name test_pgx_lwt)
(package pgx_lwt_unix)
(libraries alcotest alcotest-lwt pgx_test pgx_lwt_unix))

View file

@ -0,0 +1,10 @@
module Alcotest_io = struct
type 'a test_case = 'a Alcotest_lwt.test_case
let test_case name speed f = Alcotest_lwt.test_case name speed (fun _ -> f)
let run name tests = Alcotest_lwt.run name tests |> Lwt_main.run
end
include Pgx_test.Make_tests (Pgx_lwt_unix) (Alcotest_io)
let () = run_tests ~library_name:"pgx_lwt_unix"