nbdkit/0011-tests-test-cc-ocaml.sh-Use-nbdkit-v-option-to-help-w.patch
2023-07-13 12:05:26 +01:00

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/16] 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