From 703f8bbffec08c300c8c6ec7754ce997718f7884 Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Wed, 12 Jun 2024 16:40:40 +0100 Subject: [PATCH] sexpr: add tests to the package This fixes opam-based builds in xs-opam Signed-off-by: Pau Ruiz Safont --- ocaml/libs/sexpr/test/dune | 1 + sexpr.opam | 1 + 2 files changed, 2 insertions(+) diff --git a/ocaml/libs/sexpr/test/dune b/ocaml/libs/sexpr/test/dune index 2e60f3cd9b6..aa62e13e4e0 100644 --- a/ocaml/libs/sexpr/test/dune +++ b/ocaml/libs/sexpr/test/dune @@ -1,4 +1,5 @@ (test (name test_sexpr) + (package sexpr) (modules test_sexpr) (libraries sexpr astring rresult qcheck-core alcotest threads)) diff --git a/sexpr.opam b/sexpr.opam index 49226ada780..aded988a188 100644 --- a/sexpr.opam +++ b/sexpr.opam @@ -13,6 +13,7 @@ depends: [ "ocaml" "dune" "astring" + "qcheck-core" {with-test} "xapi-stdext-threads" ] synopsis: "Library required by xapi"