Skip to content

Commit

Permalink
ensure that tests belong to the correct package
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Mar 21, 2024
1 parent 54f6db0 commit 8e63408
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@

(mdx
(libraries moonpool moonpool.forkjoin moonpool.fib threads)
(package moonpool)
(enabled_if
(>= %{ocaml_version} 5.0)))
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions moonpool-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ depends: [
"ocaml" {>= "5.0"}
"lwt"
"base-unix"
"trace" {with-test}
"trace-tef" {with-test}
"odoc" {with-doc}
]
build: [
Expand Down
1 change: 1 addition & 0 deletions test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
t_ws_deque
t_ws_wait
t_bounded_queue)
(package moonpool)
(libraries
moonpool
qcheck-core
Expand Down
1 change: 1 addition & 0 deletions test/effect-based/dune
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/fiber/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
t_fib1 t_fls t_main)
(enabled_if
(>= %{ocaml_version} 5.0))
(package moonpool)
(libraries
moonpool
moonpool.fib
Expand Down

0 comments on commit 8e63408

Please sign in to comment.