Skip to content

dune: declare stresstests dependencies #5892

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 31, 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
9 changes: 5 additions & 4 deletions ocaml/libs/http-lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
(modules http_test radix_tree_test)
(libraries
alcotest

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some whitespace in diff, here and below. I presume this might be converting between line endings?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no formatting required for dune files as it makes diffs harded (it uses as few lines as possible in the dependencies). Having rogue whitespace is a consequence of this

fmt
http_lib
)
Expand Down Expand Up @@ -88,16 +88,17 @@

(rule
(alias stresstest)
(deps bufio_test.exe)
; use default random seed on stresstests
(action (run %{dep:bufio_test.exe} -v -bt))
(action (run %{deps} -v -bt))
)

(executable
(modes exe)
(name test_client)
(modules test_client)
(libraries

http_lib
safe-resources
stunnel
Expand All @@ -112,7 +113,7 @@
(name test_server)
(modules test_server)
(libraries

http_lib
httpsvr
safe-resources
Expand Down
3 changes: 2 additions & 1 deletion ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

(rule
(alias stresstest)
(deps unixext_test.exe)
; use default random seed on stresstests
(action (run %{dep:unixext_test.exe} -v -bt))
(action (run %{deps} -v -bt))
)

(test
Expand Down
Loading