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 @@
(tests
(names test_pgx_async)
(package pgx_async)
(libraries alcotest alcotest-async pgx_async pgx_test))

View file

@ -0,0 +1,13 @@
module Alcotest_io = struct
type 'a test_case = 'a Alcotest_async.test_case
let test_case name speed f = Alcotest_async.test_case name speed f
let run name tests =
Async_unix.Thread_safe.block_on_async_exn @@ fun () -> Alcotest_async.run name tests
;;
end
include Pgx_test.Make_tests (Pgx_async) (Alcotest_io)
let () = run_tests ~library_name:"pgx_async"