diff --git a/tests/libs/libsql.t/run.t b/tests/libs/libsql.t/run.t index 00c40ad..f5a808d 100644 --- a/tests/libs/libsql.t/run.t +++ b/tests/libs/libsql.t/run.t @@ -1,4 +1,44 @@ $ ocaml-bindgen libsql.h libsql $ cat dune + + ; automatically generated by ocaml-bindgen 0.0.1 + (library + (name libsql) + (foreign_stubs + (language c) + (names caml_libsql.c) + (flags + (:standard -O2)))) + $ cat libsql.ml + (* automatically generated by ocaml-bindgen 0.0.1 *) + type a + type a + type a + type a + type a + type a + type a + type a $ cat caml_libsql.c + /* automatically generated by ocaml-bindgen 0.0.1 */ + struct { + }; + struct + libsql_connection { + }; + struct libsql_database + { + }; + struct libsql_row { + }; + struct libsql_rows { + }; + struct + libsql_rows_future { + }; + struct libsql_stmt { + }; + struct { + }; + diff --git a/tests/translate.t/run.t b/tests/translate.t/run.t index 91ae9cf..9e94f0e 100644 --- a/tests/translate.t/run.t +++ b/tests/translate.t/run.t @@ -1,4 +1,18 @@ $ ocaml-bindgen empty.c empty $ cat dune + + ; automatically generated by ocaml-bindgen 0.0.1 + (library + (name empty) + (foreign_stubs + (language c) + (names caml_empty.c) + (flags + (:standard -O2)))) + $ cat empty.ml + (* automatically generated by ocaml-bindgen 0.0.1 *) + $ cat caml_empty.c + /* automatically generated by ocaml-bindgen 0.0.1 */ +