Skip to content

Commit

Permalink
test: promote results
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Feb 9, 2024
1 parent d97cf51 commit 1aa31dc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
40 changes: 40 additions & 0 deletions tests/libs/libsql.t/run.t
Original file line number Diff line number Diff line change
@@ -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 {
};

14 changes: 14 additions & 0 deletions tests/translate.t/run.t
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 1aa31dc

Please sign in to comment.