ensure that tests belong to the correct package

This commit is contained in:
Simon Cruanes 2024-03-21 09:32:14 -04:00
parent 54f6db0b42
commit 8e6340846a
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
6 changed files with 8 additions and 0 deletions

1
dune
View file

@ -4,5 +4,6 @@
(mdx
(libraries moonpool moonpool.forkjoin moonpool.fib threads)
(package moonpool)
(enabled_if
(>= %{ocaml_version} 5.0)))

View file

@ -42,6 +42,8 @@
(ocaml (>= 5.0))
lwt
base-unix
(trace :with-test)
(trace-tef :with-test)
(odoc :with-doc)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project

View file

@ -13,6 +13,8 @@ depends: [
"ocaml" {>= "5.0"}
"lwt"
"base-unix"
"trace" {with-test}
"trace-tef" {with-test}
"odoc" {with-doc}
]
build: [

View file

@ -13,6 +13,7 @@
t_ws_deque
t_ws_wait
t_bounded_queue)
(package moonpool)
(libraries
moonpool
qcheck-core

View file

@ -13,6 +13,7 @@
(run %{project_root}/src/cpp/cpp.exe %{input-file})))
(enabled_if
(>= %{ocaml_version} 5.0))
(package moonpool)
(libraries
moonpool
moonpool.forkjoin

View file

@ -4,6 +4,7 @@
t_fib1 t_fls t_main)
(enabled_if
(>= %{ocaml_version} 5.0))
(package moonpool)
(libraries
moonpool
moonpool.fib