Skip to content

dune: fix tests to packages #5817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ocaml/libs/xapi-stdext/lib/xapi-fdcaps/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
)

(cram
(package xapi-stdext-unix)
(deps (package xapi-stdext-unix))
)
1 change: 1 addition & 0 deletions ocaml/libs/xapi-stdext/lib/xapi-stdext-threads/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
)
(test
(name threadext_test)
(package xapi-stdext-threads)
(modules threadext_test)
(libraries xapi_stdext_threads alcotest mtime.clock.os mtime fmt)
)
4 changes: 3 additions & 1 deletion ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(test
(name unixext_test)
(package xapi-stdext-unix)
(modules unixext_test)
(libraries xapi_stdext_unix qcheck-core mtime.clock.os qcheck-core.runner fmt xapi_fd_test mtime threads.posix rresult)
; use fixed seed to avoid causing random failures in CI and package builds
Expand All @@ -12,9 +13,10 @@
(action (run %{dep:unixext_test.exe} -v -bt))
)

(executable
(test
(modes exe)
(name test_systemd)
(package xapi-stdext-unix)
(modules test_systemd)
(libraries xapi-stdext-unix))

Expand Down
1 change: 1 addition & 0 deletions ocaml/tests/record_util/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(test
(name test_record_util)
(package xapi)
(libraries alcotest xapi_cli_server rpclib.core xapi_consts xapi_types astring fmt)
(action (run %{test} --show-errors))
)
Loading