diff --git a/test/cram/dune b/test/cram/dune index 4e14d35f..d6a541ca 100644 --- a/test/cram/dune +++ b/test/cram/dune @@ -1,3 +1,10 @@ +; ocaml-ci fix: ocamlfind warns on relative paths in ld.conf (OCaml >= 5.5), +; breaking cram output; safe to ignore, no C stubs linked here. +(env + (_ + (env-vars + (OCAMLFIND_LDCONF ignore)))) + (cram (deps %{bin:sqlgg} diff --git a/test/cram/test_migrations/migrate-idempotent-codegen.t/run.t b/test/cram/test_migrations/migrate-idempotent-codegen.t/run.t index 8f598bd4..44540205 100644 --- a/test/cram/test_migrations/migrate-idempotent-codegen.t/run.t +++ b/test/cram/test_migrations/migrate-idempotent-codegen.t/run.t @@ -26,8 +26,7 @@ The human-facing note goes to stderr, not stdout: migrations.sql stays empty - nothing is appended on a no-op: - $ wc -c < migrations.sql - 0 + $ test ! -s migrations.sql Running it again produces byte-identical stdout (true idempotency):