3fc58c8fb6
These are needed to get OCaml 5 to work.
27 lines
916 B
Diff
27 lines
916 B
Diff
From c78266258709e2cbe6f0e869c866d09ad72c072c Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Thu, 22 Jun 2023 10:33:31 +0100
|
|
Subject: [PATCH 11/15] tests/test-cc-ocaml.sh: Use nbdkit -v option to help
|
|
with debugging
|
|
|
|
---
|
|
tests/test-cc-ocaml.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/test-cc-ocaml.sh b/tests/test-cc-ocaml.sh
|
|
index 9458201a4..fc1335591 100755
|
|
--- a/tests/test-cc-ocaml.sh
|
|
+++ b/tests/test-cc-ocaml.sh
|
|
@@ -60,7 +60,7 @@ out=test-cc-ocaml.out
|
|
cleanup_fn rm -f $out
|
|
rm -f $out
|
|
|
|
-nbdkit -U - cc $script a=1 b=2 c=3 d=4 \
|
|
+nbdkit -v -U - cc $script a=1 b=2 c=3 d=4 \
|
|
CC="$OCAMLOPT" CFLAGS="-output-obj -runtime-variant _pic -I $SRCDIR/../plugins/ocaml -I +unix unix.cmxa -I +threads threads.cmxa NBDKit.cmx -cclib -lnbdkitocaml" \
|
|
--run 'nbdinfo --size $uri' > $out
|
|
test "$(cat $out)" -eq $((512 * 2048))
|
|
--
|
|
2.41.0
|
|
|