From 127e3ceb6917f24fd590d61558b094b22052ddf8 Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 12:55:23 +0100 Subject: [PATCH 1/7] Alcotezt-UX: fix invocation headers in [lib_requester/test] --- src/lib_requester/test/test_fuzzing_requester.ml | 2 +- src/lib_requester/test/test_requester.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib_requester/test/test_fuzzing_requester.ml b/src/lib_requester/test/test_fuzzing_requester.ml index a97545be63aa..5770ad11b436 100644 --- a/src/lib_requester/test/test_fuzzing_requester.ml +++ b/src/lib_requester/test/test_fuzzing_requester.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Requester - Invocation: dune build @src/lib_requester/runtest + Invocation: dune exec src/lib_requester/test/main.exe Subject: Relations between functions of [Requester]'s API *) diff --git a/src/lib_requester/test/test_requester.ml b/src/lib_requester/test/test_requester.ml index e6e009fe6e0e..2857b9bbeafa 100644 --- a/src/lib_requester/test/test_requester.ml +++ b/src/lib_requester/test/test_requester.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Requester - Invocation: dune build @src/lib_requester/runtest + Invocation: dune exec src/lib_requester/test/main.exe Subject: Basic behaviors of the API for generic resource fetching/requesting service. Instantiating the [Requester] functor with simple mocks. -- GitLab From d02694b8e943d08ad4b53e24d967eff88fad97b9 Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 12:56:51 +0100 Subject: [PATCH 2/7] Alcotezt-UX: fix invocation headers in [lib_rpc_http/test] --- src/lib_rpc_http/test/test_rpc_http.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_rpc_http/test/test_rpc_http.ml b/src/lib_rpc_http/test/test_rpc_http.ml index cab7cf33dee1..085d1f4515ab 100644 --- a/src/lib_rpc_http/test/test_rpc_http.ml +++ b/src/lib_rpc_http/test/test_rpc_http.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: RPC-HTTP - Invocation: dune build @src/lib_rpc_http/runtest + Invocation: dune exec src/lib_rpc_http/test/main.exe Subject: Basic unit tests for HTTP server running RPC services. These tests concern themselves mainly with ACL feature -- GitLab From 709d7cb5601da812af8216a65e3df2435e79e515 Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 12:57:18 +0100 Subject: [PATCH 3/7] Alcotezt-UX: fix invocation headers in [lib_shell/test] --- src/lib_shell/test/test_consensus_heuristic.ml | 3 +-- src/lib_shell/test/test_node.ml | 3 +-- src/lib_shell/test/test_peer_validator.ml | 2 +- src/lib_shell/test/test_prevalidation.ml | 2 +- src/lib_shell/test/test_prevalidator_classification.ml | 2 +- .../test/test_prevalidator_classification_operations.ml | 2 +- src/lib_shell/test/test_prevalidator_pending_operations.ml | 2 +- src/lib_shell/test/test_protocol_validator.ml | 3 +-- src/lib_shell/test/test_shell.ml | 2 +- src/lib_shell/test/test_shell_operation.ml | 2 +- src/lib_shell/test/test_synchronisation_heuristic.ml | 3 +-- src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml | 3 +-- src/lib_shell/test/test_validator.ml | 3 +-- 13 files changed, 13 insertions(+), 19 deletions(-) diff --git a/src/lib_shell/test/test_consensus_heuristic.ml b/src/lib_shell/test/test_consensus_heuristic.ml index f4d814ef7eed..3c4831bc3eb3 100644 --- a/src/lib_shell/test/test_consensus_heuristic.ml +++ b/src/lib_shell/test/test_consensus_heuristic.ml @@ -26,8 +26,7 @@ (* Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/test/test_shell.exe \ - -- test '^consensus heuristic' + Invocation: dune exec src/lib_shell/test/main.exe Subject: Test the consensus heuristic *) diff --git a/src/lib_shell/test/test_node.ml b/src/lib_shell/test/test_node.ml index bc6d1981cf11..0ea6b5e9445a 100644 --- a/src/lib_shell/test/test_node.ml +++ b/src/lib_shell/test/test_node.ml @@ -26,8 +26,7 @@ (** Testing ------- Component: Shell (Node) - Invocation: dune exec src/lib_shell/test/test_shell.exe \ - -- test '^test node$' + Invocation: dune exec src/lib_shell/test/main.exe Dependencies: src/lib_shell/test/shell_test_helpers.ml Subject: Unit tests for node. Currently only tests that events are emitted. diff --git a/src/lib_shell/test/test_peer_validator.ml b/src/lib_shell/test/test_peer_validator.ml index 1f032341bc1c..4f9471f144ac 100644 --- a/src/lib_shell/test/test_peer_validator.ml +++ b/src/lib_shell/test/test_peer_validator.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Peer_validator - Invocation: dune exec src/lib_shell/test/test_peer_validator.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests for [Peer_validator] *) diff --git a/src/lib_shell/test/test_prevalidation.ml b/src/lib_shell/test/test_prevalidation.ml index 979eb289805f..cce6b914a90e 100644 --- a/src/lib_shell/test/test_prevalidation.ml +++ b/src/lib_shell/test/test_prevalidation.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Prevalidation - Invocation: dune exec src/lib_shell/test/test_prevalidation.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests for {!Prevalidation.T} *) diff --git a/src/lib_shell/test/test_prevalidator_classification.ml b/src/lib_shell/test/test_prevalidator_classification.ml index edd08b47f317..385c68a81ec3 100644 --- a/src/lib_shell/test/test_prevalidator_classification.ml +++ b/src/lib_shell/test/test_prevalidator_classification.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Shell (Prevalidator classification) - Invocation: dune exec src/lib_shell/test/test_prevalidator_classification.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests the Prevalidator classification APIs *) diff --git a/src/lib_shell/test/test_prevalidator_classification_operations.ml b/src/lib_shell/test/test_prevalidator_classification_operations.ml index f2bc51eb7548..a6e72f2fcfe0 100644 --- a/src/lib_shell/test/test_prevalidator_classification_operations.ml +++ b/src/lib_shell/test/test_prevalidator_classification_operations.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Shell (Prevalidator) - Invocation: dune exec src/lib_shell/test/test_prevalidator_classification_operations.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests [Prevalidator_classification.Internal_for_tests.handle_live_operations] and [Prevalidator_classification.recyle_operations] *) diff --git a/src/lib_shell/test/test_prevalidator_pending_operations.ml b/src/lib_shell/test/test_prevalidator_pending_operations.ml index c64885900d06..a5e66f492a12 100644 --- a/src/lib_shell/test/test_prevalidator_pending_operations.ml +++ b/src/lib_shell/test/test_prevalidator_pending_operations.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Shell (Prevalidator pending operations) - Invocation: dune exec src/lib_shell/test/test_prevalidator_pending_operations.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests the Prevalidator pending operations APIs *) diff --git a/src/lib_shell/test/test_protocol_validator.ml b/src/lib_shell/test/test_protocol_validator.ml index 33dcfdc49c7d..7110853a4ae0 100644 --- a/src/lib_shell/test/test_protocol_validator.ml +++ b/src/lib_shell/test/test_protocol_validator.ml @@ -26,8 +26,7 @@ (** Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/test/test_shell.exe \ - -- test '^test protocol validator$' + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests for protocol_validator. Currently only tests that events are emitted. *) diff --git a/src/lib_shell/test/test_shell.ml b/src/lib_shell/test/test_shell.ml index e06004fa746c..446a0926fffd 100644 --- a/src/lib_shell/test/test_shell.ml +++ b/src/lib_shell/test/test_shell.ml @@ -27,7 +27,7 @@ (** Testing ------- Component: Shell - Invocation: dune build @src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/main.exe Subject: Entrypoint of tests, delegates to other files in the enclosing directory. *) diff --git a/src/lib_shell/test/test_shell_operation.ml b/src/lib_shell/test/test_shell_operation.ml index f76e343a0e83..6b8dfd1249f7 100644 --- a/src/lib_shell/test/test_shell_operation.ml +++ b/src/lib_shell/test/test_shell_operation.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Shell_operation and others - Invocation: dune exec src/lib_shell/test/test_shell_operation.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests for [Shell_operation], and for other components e.g. [Requester] when the tests rely on the operation representation provided by diff --git a/src/lib_shell/test/test_synchronisation_heuristic.ml b/src/lib_shell/test/test_synchronisation_heuristic.ml index dfa1558946c8..edba7f9f0e55 100644 --- a/src/lib_shell/test/test_synchronisation_heuristic.ml +++ b/src/lib_shell/test/test_synchronisation_heuristic.ml @@ -26,8 +26,7 @@ (* Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/test/test_shell.exe \ - -- test '^synchronisation heuristic' + Invocation: dune exec src/lib_shell/test/main.exe Subject: Test the synchronisation heuristic *) diff --git a/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml b/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml index e22acc486be7..0a026dd6e857 100644 --- a/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml +++ b/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml @@ -26,8 +26,7 @@ (* Testing ------- Component: Shell - Invocation: dune exec \ - src/lib_shell/test/test_synchronisation_heuristic_fuzzy.exe + Invocation: dune exec src/lib_shell/test/main.exe Subject: Test the synchronisation heuristic with a reference implementation *) diff --git a/src/lib_shell/test/test_validator.ml b/src/lib_shell/test/test_validator.ml index 8698a9b6a589..17f8cf4532c0 100644 --- a/src/lib_shell/test/test_validator.ml +++ b/src/lib_shell/test/test_validator.ml @@ -26,8 +26,7 @@ (** Testing ------- Component: Shell (Validator) - Invocation: dune exec src/lib_shell/test/test_shell.exe \ - -- test '^test validator$' + Invocation: dune exec src/lib_shell/test/main.exe Subject: Unit tests for validator. Currently only tests that events are emitted. *) -- GitLab From f50633f2d5b130ba3de6b7e1719757366b81839b Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 12:57:37 +0100 Subject: [PATCH 4/7] Alcotezt-UX: fix invocation headers in [lib_shell_service/test] --- src/lib_shell_services/test/test_block_services.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_shell_services/test/test_block_services.ml b/src/lib_shell_services/test/test_block_services.ml index fc6748a9f652..4defa7c930d8 100644 --- a/src/lib_shell_services/test/test_block_services.ml +++ b/src/lib_shell_services/test/test_block_services.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Block_services - Invocation: dune build @src/lib_shell_services/test/runtest + Invocation: dune exec src/lib_shell_services/test/main.exe Subject: Unit tests for [Block_services] *) -- GitLab From 904fad55217c22c006f3ad2f105144a227f8824e Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 13:01:06 +0100 Subject: [PATCH 5/7] Alcotezt-UX: fix invocations in lib_signer_backends/[test],[unix] --- src/lib_signer_backends/test/test_encrypted.ml | 2 +- src/lib_signer_backends/unix/test/test_crouching.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib_signer_backends/test/test_encrypted.ml b/src/lib_signer_backends/test/test_encrypted.ml index 9f5509b86fc5..bd26427c5357 100644 --- a/src/lib_signer_backends/test/test_encrypted.ml +++ b/src/lib_signer_backends/test/test_encrypted.ml @@ -10,7 +10,7 @@ (** Testing ------- Component: Remote-signature Backends - Invocation: dune build @src/lib_signer_backends/runtest + Invocation: dune exec src/lib_signer_backends/test/main.exe Subject: On secret keys and URIs. *) diff --git a/src/lib_signer_backends/unix/test/test_crouching.ml b/src/lib_signer_backends/unix/test/test_crouching.ml index 76754ddd8f55..59e34b6a39e9 100644 --- a/src/lib_signer_backends/unix/test/test_crouching.ml +++ b/src/lib_signer_backends/unix/test/test_crouching.ml @@ -1,7 +1,7 @@ (** Testing ------- Component: Remote-signature Backends - Invocation: dune build @src/lib_signer_backends/runtest + Invocation: dune exec src/lib_signer_backends/unix/test/main.exe Subject: On pseudo-unique names for Ledger Nano S devices. *) -- GitLab From bba1dd46c11fee04cef847dd9749a808e8453bfd Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 13:01:55 +0100 Subject: [PATCH 6/7] Alcotezt-UX: fix invocation headers in lib_stdlib/[test],[test-unix] --- src/lib_stdlib/test-unix/test_circular_buffer.ml | 2 +- src/lib_stdlib/test-unix/test_circular_buffer_fuzzy.ml | 2 +- src/lib_stdlib/test-unix/test_lwt_pipe.ml | 2 +- src/lib_stdlib/test/test_bits.ml | 2 +- src/lib_stdlib/test/test_fallbackArray.ml | 2 +- src/lib_stdlib/test/test_functionalArray.ml | 2 +- src/lib_stdlib/test/test_tzBytes.ml | 3 +-- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/lib_stdlib/test-unix/test_circular_buffer.ml b/src/lib_stdlib/test-unix/test_circular_buffer.ml index 4dc3908cab9c..2c7141480a53 100644 --- a/src/lib_stdlib/test-unix/test_circular_buffer.ml +++ b/src/lib_stdlib/test-unix/test_circular_buffer.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: stdlib - Invocation: dune build @src/lib_stdlib/test/runtest + Invocation: dune exec src/lib_stdlib/test-unix/main.exe Subject: On circular buffer *) diff --git a/src/lib_stdlib/test-unix/test_circular_buffer_fuzzy.ml b/src/lib_stdlib/test-unix/test_circular_buffer_fuzzy.ml index 86842cca81a2..61e9cfbd8993 100644 --- a/src/lib_stdlib/test-unix/test_circular_buffer_fuzzy.ml +++ b/src/lib_stdlib/test-unix/test_circular_buffer_fuzzy.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: stdlib - Invocation: dune build @src/lib_stdlib/test/runtest + Invocation: dune exec src/lib_stdlib/test-unix/main.exe Subject: Test the circular buffer with a reference implementation *) diff --git a/src/lib_stdlib/test-unix/test_lwt_pipe.ml b/src/lib_stdlib/test-unix/test_lwt_pipe.ml index 64391f215620..b39dfb33391f 100644 --- a/src/lib_stdlib/test-unix/test_lwt_pipe.ml +++ b/src/lib_stdlib/test-unix/test_lwt_pipe.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Stdlib - Invocation: dune exec src/lib_stdlib/test-unix/test_lwt_pipe.exe + Invocation: dune exec src/lib_stdlib/test-unix/main.exe Subject: Lwt_pipe *) diff --git a/src/lib_stdlib/test/test_bits.ml b/src/lib_stdlib/test/test_bits.ml index acd563a3619f..eabee15f89a3 100644 --- a/src/lib_stdlib/test/test_bits.ml +++ b/src/lib_stdlib/test/test_bits.ml @@ -28,7 +28,7 @@ open Utils.Infix (** Testing ------- Component: stdlib - Invocation: dune build @src/lib_stdlib/test/runtest + Invocation: dune exec src/lib_stdlib/test/main.exe Subject: On fast numbits implementation *) diff --git a/src/lib_stdlib/test/test_fallbackArray.ml b/src/lib_stdlib/test/test_fallbackArray.ml index 7000bbcf76b0..add220658f14 100644 --- a/src/lib_stdlib/test/test_fallbackArray.ml +++ b/src/lib_stdlib/test/test_fallbackArray.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: stdlib - Invocation: dune build @src/lib_stdlib/test/runtest + Invocation: dune exec src/lib_stdlib/test/main.exe Subject: Fallback arrays *) diff --git a/src/lib_stdlib/test/test_functionalArray.ml b/src/lib_stdlib/test/test_functionalArray.ml index c4f7a5e454f6..71c1bcb8234c 100644 --- a/src/lib_stdlib/test/test_functionalArray.ml +++ b/src/lib_stdlib/test/test_functionalArray.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: stdlib - Invocation: dune build @src/lib_stdlib/test/runtest + Invocation: dune exec src/lib_stdlib/test/main.exe Subject: Functional arrays *) diff --git a/src/lib_stdlib/test/test_tzBytes.ml b/src/lib_stdlib/test/test_tzBytes.ml index e9a69cb7e2f1..b736776ba6da 100644 --- a/src/lib_stdlib/test/test_tzBytes.ml +++ b/src/lib_stdlib/test/test_tzBytes.ml @@ -26,8 +26,7 @@ (** Testing _______ - Invocation: dune build @src/lib_stdlib/test/runtest - Single invocation: dune exec src/lib_stdlib/test/test_tzBytes.exe + Invocation: dune exec src/lib_stdlib/test/main.exe Subject: Bitwise byte operation and Bytes <=> nat/int conversion *) -- GitLab From fc60e46e9a690a6e3511f76e09c91f03c45d17a7 Mon Sep 17 00:00:00 2001 From: lykimq Date: Mon, 20 Mar 2023 13:02:27 +0100 Subject: [PATCH 7/7] Alcotezt-UX: fix invocation headers in [lib_workers/test] --- src/lib_workers/test/test_workers_unit.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_workers/test/test_workers_unit.ml b/src/lib_workers/test/test_workers_unit.ml index dcc1be3279b6..b697b037a83b 100644 --- a/src/lib_workers/test/test_workers_unit.ml +++ b/src/lib_workers/test/test_workers_unit.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Workers - Invocation: dune exec src/lib_workers/test/test_workers_unit.exe + Invocation: dune exec src/lib_workers/test/main.exe Subject: Unit tests for [Worker] *) -- GitLab