mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 11:15:38 -05:00
restrict moonpool-lwt tests to 5.0
This commit is contained in:
parent
f68f27a4a4
commit
fa5ae97b6d
1 changed files with 4 additions and 0 deletions
|
|
@ -5,21 +5,25 @@
|
|||
(rule
|
||||
(targets output_hash.txt)
|
||||
(deps ./hash_server.exe ./hash_client.exe ./run_hash.sh)
|
||||
(enabled_if (>= %{ocaml_version} 5.0))
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
(run ./run_hash.sh -d ../../src --n-conn=2 -j=4 --ext ".ml"))))
|
||||
|
||||
(rule
|
||||
(alias runtest)
|
||||
(enabled_if (>= %{ocaml_version} 5.0))
|
||||
(action (diff ./output_hash.expected ./output_hash.txt)))
|
||||
|
||||
(rule
|
||||
(targets output_echo.txt)
|
||||
(deps ./echo_server.exe ./echo_client.exe ./run_echo.sh)
|
||||
(enabled_if (>= %{ocaml_version} 5.0))
|
||||
(action
|
||||
(with-stdout-to %{targets}
|
||||
(run ./run_echo.sh -n 10 --n-conn=2 -j=4))))
|
||||
|
||||
(rule
|
||||
(alias runtest)
|
||||
(enabled_if (>= %{ocaml_version} 5.0))
|
||||
(action (diff ./output_echo.expected ./output_echo.txt)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue