diff --git a/src/lib_shell/test/shell_test_helpers.ml b/src/lib_shell/test/shell_test_helpers.ml index af89512ed200b72222436a43662e37aa04a842b9..aa2d6f3a721601f7c0da9c18b69574a3360eda97 100644 --- a/src/lib_shell/test/shell_test_helpers.ml +++ b/src/lib_shell/test/shell_test_helpers.ml @@ -26,7 +26,6 @@ (** Testing ------- Component: Shell - Invocation: dune build @src/lib_shell/runtest Subject: Setup mocks for testing shell, notably state and protocol validation. *) diff --git a/src/lib_shell/test/test_consensus_heuristic.ml b/src/lib_shell/test/test_consensus_heuristic.ml index 5cffbef0ff1e815d182c85e020c67e1b15dee4da..f1e5933bf873a9f5b245c0cb919f43211a35dc4e 100644 --- a/src/lib_shell/test/test_consensus_heuristic.ml +++ b/src/lib_shell/test/test_consensus_heuristic.ml @@ -26,7 +26,8 @@ (* Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/test_shell.exe \ + -- test '^consensus heuristic' Subject: Test the consensus heuristic *) diff --git a/src/lib_shell/test/test_node.ml b/src/lib_shell/test/test_node.ml index ec4b0e83b39478be2914db1f5f1750421ead89b4..1531ec1aa7b325620de8d283f1380120de3a0ba8 100644 --- a/src/lib_shell/test/test_node.ml +++ b/src/lib_shell/test/test_node.ml @@ -26,7 +26,8 @@ (** Testing ------- Component: Shell (Node) - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/test_shell.exe \ + -- test '^test node$' 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_prevalidation.ml b/src/lib_shell/test/test_prevalidation.ml index 87dc42408faead60a12554d667668a8520fd8a4c..b5daaca971ab09813c63770546f2e71d819f86ff 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 build @src/lib_shell/test/runtest + Invocation: dune exec src/lib_shell/test/test_prevalidation.exe Subject: Unit tests for [Prevalidation] *) diff --git a/src/lib_shell/test/test_protocol_validator.ml b/src/lib_shell/test/test_protocol_validator.ml index 216a1ca4f32335c3a23b32f6b8e8eb3025c1ce32..68685bfb5d8a11e6b2a896747be5f2a9b2735009 100644 --- a/src/lib_shell/test/test_protocol_validator.ml +++ b/src/lib_shell/test/test_protocol_validator.ml @@ -26,7 +26,8 @@ (** Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/test_shell.exe \ + -- test '^test protocol validator$' Subject: Unit tests for protocol_validator. Currently only tests that events are emitted. *) diff --git a/src/lib_shell/test/test_synchronisation_heuristic.ml b/src/lib_shell/test/test_synchronisation_heuristic.ml index 7df62f4b66e3f601dd08064d64d2496d43c8cf8b..5df0188f69b252043f41cc2ac30afc12c54003b5 100644 --- a/src/lib_shell/test/test_synchronisation_heuristic.ml +++ b/src/lib_shell/test/test_synchronisation_heuristic.ml @@ -26,7 +26,8 @@ (* Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/test_shell.exe \ + -- test '^synchronisation heuristic' 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 7150ec621009953ea45e56b2e206b56c8cdec386..f3c35e7c89191a28975a542740ff6b2b52ce507c 100644 --- a/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml +++ b/src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml @@ -26,7 +26,8 @@ (* Testing ------- Component: Shell - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec \ + src/lib_shell/test/test_synchronisation_heuristic_fuzzy.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 58dee63a3d0f846ad9343bd00c0cd220690f1c21..30d4311b5399e58f6eb0ac7243b72cf8ab6df989 100644 --- a/src/lib_shell/test/test_validator.ml +++ b/src/lib_shell/test/test_validator.ml @@ -26,7 +26,8 @@ (** Testing ------- Component: Shell (Validator) - Invocation: dune exec src/lib_shell/runtest + Invocation: dune exec src/lib_shell/test/test_shell.exe \ + -- test '^test validator$' Subject: Unit tests for validator. Currently only tests that events are emitted. *) diff --git a/src/lib_stdlib/test-unix/test_lwt_pipe.ml b/src/lib_stdlib/test-unix/test_lwt_pipe.ml index 6c5b08772fb8d1c8de510e12946baedf3f67ba95..69eec73d01144c77d5db996c93ff3bf8ce714c04 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 build @src/lib_stdlib/test/runtest_lwt_pipe + Invocation: dune exec src/lib_stdlib/test-unix/test_lwt_pipe.exe Subject: Lwt_pipe *) diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/dune b/src/proto_010_PtGRANAD/lib_protocol/test/dune index 593aa309131cbe15f2766ddd21f6c888dcc1a0c2..979fa385fa3983dc32bdd48e5b8c9e8ee2ef7cc2 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/dune +++ b/src/proto_010_PtGRANAD/lib_protocol/test/dune @@ -1,5 +1,7 @@ -(executables +(tests (names main saturation_fuzzing test_gas_properties test_tez_repr) + (package tezos-protocol-010-PtGRANAD-tests) + (deps (glob_files contracts/*)) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -23,12 +25,6 @@ -open Tezos_010_PtGRANAD_test_helpers -open Tezos_base_test_helpers))) -(rule - (alias buildtest) - (package tezos-protocol-010-PtGRANAD-tests) - (deps main.exe) - (action (progn))) - (rule (copy %{lib:tezos-protocol-010-PtGRANAD-parameters:test-parameters.json} protocol_parameters.json)) @@ -56,9 +52,3 @@ (alias runtest_test_tez_repr) (package tezos-protocol-010-PtGRANAD-tests) (action (run %{exe:test_tez_repr.exe}))) - -(rule - (alias runtest) - (package tezos-protocol-010-PtGRANAD-tests) - (deps (alias runtest_proto_010_PtGRANAD) (alias runtest_saturation_fuzzing) (alias runtest_test_tez_repr)) - (action (progn))) diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/test_failing_noop.ml b/src/proto_010_PtGRANAD/lib_protocol/test/test_failing_noop.ml index 7af0e4243663c7e0a403f697614d5e40213d520c..b998d02b76f1163cce285113c7b554493a1c3388 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/test_failing_noop.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/test_failing_noop.ml @@ -26,8 +26,8 @@ (** Testing ------- Component: Protocol - Invocation: dune exec src/proto_010_PtGRANAD/lib_protocol/test/main.exe\ - -- test "^failing_noop$" + Invocation: dune exec src/proto_010_PtGRANAD/lib_protocol/test/main.exe \ + -- test "^failing_noop operation$" Subject: The Failing_noop operation was added bearing in mind the possibility for the end user to sign arbitrary bytes, encapsulate in the operation, with the absolute garanty that diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/dune b/src/proto_010_PtGRANAD/lib_protocol/test/unit/dune index 35cfecf5f7f0f4e8a24ca36ace0c292467958372..85f46a5a104fefc27c6896295d8bec1472671488 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/dune +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/dune @@ -1,5 +1,6 @@ -(executable +(test (name main) + (package tezos-protocol-010-PtGRANAD-tests) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -15,10 +16,5 @@ -open Tezos_client_010_PtGRANAD -open Tezos_protocol_010_PtGRANAD -open Tezos_protocol_environment_010_PtGRANAD - -open Tezos_010_PtGRANAD_test_helpers))) - -(rule - (alias runtest) - (package tezos-protocol-010-PtGRANAD-tests) - (deps main.exe) + -open Tezos_010_PtGRANAD_test_helpers)) (action (run ./main.exe "test" "Unit"))) diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_alpha_context.ml b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_alpha_context.ml index ef7f84ba9a0e429cd9da6fda016f41ef05c2ff17..fa615dd576ab52b9565b58440dfe7d1d3366ac74 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_alpha_context.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_alpha_context.ml @@ -29,7 +29,7 @@ open Alpha_context (** Testing ------- Component: Alpha_context - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Alpha_context + Invocation: dune exec ./src/proto_010_PtGRANAD/lib_protocol/test/unit/main.exe -- test Alpha_context Dependencies: helpers/block.ml Subject: To test the modules (including the top-level) in alpha_context.ml as individual units, particularly diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_contract_repr.ml b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_contract_repr.ml index 7ecff1016d63e4518ea9c2f299f8dcda8a15e33d..1bcea2e40557ef759546788e2221bc47994cbbd5 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_contract_repr.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_contract_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Contract_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Contract_repr + Invocation: dune exec ./src/proto_010_PtGRANAD/lib_protocol/test/unit/main.exe -- test Contract_repr Dependencies: contract_hash.ml Subject: To test the modules (including the top-level) in contract_repr.ml as individual units, particularly diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_operation_repr.ml b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_operation_repr.ml index 08cbbcbcb5111da8c8daee138773918aad197a9d..6e6a260759002a49781da38425c7f1301b722168 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_operation_repr.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_operation_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Operation_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Operation_repr + Invocation: dune exec ./src/proto_010_PtGRANAD/lib_protocol/test/unit/main.exe -- test Operation_repr Dependencies: -- Subject: To test the modules (including the top-level) in operation_repr.ml as individual units, particularly diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_raw_level_repr.ml b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_raw_level_repr.ml index 4c11e7e881975cae1e34abfd310dc5db60dd1019..a4fda9597a1bb0f0da4a6809519e17e0938422da 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_raw_level_repr.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_raw_level_repr.ml @@ -29,7 +29,9 @@ open Tztest (** Testing ------- Component: Raw_level_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Raw_level_repr + Invocation: dune exec \ + ./src/proto_010_PtGRANAD/lib_protocol/test/unit/main.exe \ + -- test '^\[Unit\] Raw_level_repr.ml$' Dependencies: -- Subject: To test the modules (including the top-level) in raw_level_repr.ml as individual units, particularly diff --git a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_tez_repr.ml b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_tez_repr.ml index 08aa585c46fe55c7b7a72da9fdde867f1c41afb9..dee9d733c6b78e928723a5882ddf88ed22eda722 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_tez_repr.ml +++ b/src/proto_010_PtGRANAD/lib_protocol/test/unit/test_tez_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Tez_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Tez_repr + Invocation: dune exec ./src/proto_010_PtGRANAD/lib_protocol/test/unit/main.exe -- test Tez_repr Dependencies: -- Subject: To test the modules (including the top-level) in tez_repr.ml as individual units, particularly diff --git a/src/proto_011_PtHangz2/lib_protocol/test/dune b/src/proto_011_PtHangz2/lib_protocol/test/dune index 1253e7401be7dc4ddd9ddba5ac0089f380017c5d..6b055da6b1ff0b4cfcd91d581b83306edde8713c 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/dune +++ b/src/proto_011_PtHangz2/lib_protocol/test/dune @@ -1,10 +1,12 @@ -(executables +(tests (names main saturation_fuzzing test_gas_properties test_tez_repr liquidity_baking_pbt test_script_comparison) + (package tezos-protocol-011-PtHangz2-tests) + (deps (glob_files contracts/*)) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -69,14 +71,3 @@ (alias runtest_liquidity_baking_pbt) (package tezos-protocol-011-PtHangz2-tests) (action (run %{exe:liquidity_baking_pbt.exe}))) - -(rule - (alias runtest) - (package tezos-protocol-011-PtHangz2-tests) - (deps - (alias runtest_proto_011_PtHangz2) - (alias runtest_saturation_fuzzing) - (alias runtest_test_tez_repr) - (alias runtest_liquidity_baking_pbt) - (alias runtest_test_script_comparison)) - (action (progn))) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/helpers/cpmm_logic.ml b/src/proto_011_PtHangz2/lib_protocol/test/helpers/cpmm_logic.ml index a1d4d8027c5808afbd02a62372fede6e8adc33f9..ef7b3b43043933466b18c34edc2fd5869a85513c 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/helpers/cpmm_logic.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/helpers/cpmm_logic.ml @@ -27,7 +27,7 @@ open Protocol open Alpha_context (** This is a simulation of the CPMM contract, as implemented in mligo - in [src/proto_alpha/lib_protocol/contracts/cpmm.mligo]. The + in [src/proto_011_PtHangz2/lib_protocol/contracts/cpmm.mligo]. The interested reader should look for comments in this file to gain a better understanding of the contract logic. *) module Simulate_raw = struct diff --git a/src/proto_011_PtHangz2/lib_protocol/test/liquidity_baking_pbt.ml b/src/proto_011_PtHangz2/lib_protocol/test/liquidity_baking_pbt.ml index 3138c386d4fea5840ab5928a9e213a7db292f654..2954c79be3b28deaa37c9c423e1a5e904dfcc677 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/liquidity_baking_pbt.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/liquidity_baking_pbt.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: pbt for liquidity baking - Invocation: [QCHECK_SEED=] dune exec src/proto_alpha/lib_protocol/test/liquidity_baking_pbt.exe + Invocation: [QCHECK_SEED=] dune exec src/proto_011_PtHangz2/lib_protocol/test/liquidity_baking_pbt.exe Subject: Test liquidity baking contracts using randomly generated inputs. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/main.ml b/src/proto_011_PtHangz2/lib_protocol/test/main.ml index 41db2df4a88cc6109ee2836354b78da631bbca76..8ddcbe9ac15aca6ca06d031b66b03443df6a7967 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/main.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/main.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol - Invocation: dune build @src/proto_alpha/lib_protocol/runtest + Invocation: dune build @src/proto_011_PtHangz2/lib_protocol/runtest Subject: Entrypoint *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/saturation_fuzzing.ml b/src/proto_011_PtHangz2/lib_protocol/test/saturation_fuzzing.ml index c021d2c6b9f76f914908104984b5619bd6041a6f..c1df9ccf754d3b21523f221f7e9c9d3fc18c5571 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/saturation_fuzzing.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/saturation_fuzzing.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol Library - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_saturation_fuzzing + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/saturation_fuzzing.exe Subject: Operations in Saturation_repr *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_activation.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_activation.ml index 5bce68bc6b03ab3a6426d98da9eadeaab61c86ee..5c2c9dd264ea267ae0581fa47bdc658e69eaeebe 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_activation.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_activation.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (activation) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^activation$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^activation$" Subject: The activation operation creates an implicit contract from a registered commitment present in the context. It is parametrized by a public key hash (pkh) and a secret. diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_baking.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_baking.ml index f125046ba7efc795c21a9bae33f420651bcb93ed..b22a319469115595d9388be8cbbacb862b7723d9 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_baking.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_baking.ml @@ -27,7 +27,7 @@ (** Testing ------- Component: Protocol (baking) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^baking$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^baking$" Subject: Rewards and bakers. Tests based on RPCs. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_baking_module.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_baking_module.ml index 36768906af6e49697a08ce6f7aab93bff2a7a166..b439108f281b14c610fa5cac35c5770bfffdbd54 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_baking_module.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_baking_module.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (baking) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^baking module$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^baking module$" Subject: some functions in the Baking module *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_combined_operations.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_combined_operations.ml index 08483a744acca16fde8695ec89a60c9b0f6cabb6..1616413f0b175fcb6095798bf75cdab962617b1a 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_combined_operations.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_combined_operations.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (combined operations) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^combined$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^combined$" Subject: Multiple operations can be grouped in one ensuring their deterministic application. diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_constants.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_constants.ml index 02809ab8e9a5c9549a1fe28e201194c4487541d9..fb5751330f84cd6d963fc79aea62209feb24b117 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_constants.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_constants.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (baking) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^constants$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^constants$" Subject: the consistency of parametric constants *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_delegation.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_delegation.ml index 8bb63bf2ebb679243813ea19987bbb97d40b3838..93071ac76757c2bbd828fa9e692a2c0d841fcdb4 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_delegation.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_delegation.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (delegation) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^delegation$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^delegation$" Subject: - Properties on bootstrap contracts (self-delegation, cannot delete/change their delegate (as opposed to contracts not-being-delegate which can do these), bootstrap manager diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_double_baking.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_double_baking.ml index 4f9ea355a11682dcb4797b428fff25a63902bb3d..6e415f0ca29b6388b24670d4e6297be6438f0899 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_double_baking.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_double_baking.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (double baking) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^double baking$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^double baking$" Subject: Double baking evidence operation may happen when a baker baked two different blocks on the same level. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_double_endorsement.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_double_endorsement.ml index 05d457f05ca8daa4d22830d02cce2c2bb27e4fca..75ac531e813b7753b309a32d81e2e4031a52167a 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_double_endorsement.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_double_endorsement.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (double endorsement) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^double endorsement$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^double endorsement$" Subject: Double endorsement evidence operation may happen when an endorser endorsed two different blocks on the same level. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_endorsement.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_endorsement.ml index 64d8730b86f851d073fc381bce615a26e0088059..3b6d483ccb9d6c69f011b359fd5edd5f7ee16656 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_endorsement.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_endorsement.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (endorsement) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^endorsement$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^endorsement$" Subject: Endorsing a block adds an extra layer of confidence to the Tezos' PoS algorithm. The block endorsing operation must be included in the following block. Each endorser possesses a diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_failing_noop.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_failing_noop.ml index ce4c2a69697a8c9ce10e92100d7a6d431afc02a2..8b532eea59ffce92ebcbd1b6a8bdc1a3649fb773 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_failing_noop.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_failing_noop.ml @@ -26,8 +26,8 @@ (** Testing ------- Component: Protocol - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe\ - -- test "^failing_noop$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe \ + -- test "^failing_noop operation$" Subject: The Failing_noop operation was added bearing in mind the possibility for the end user to sign arbitrary bytes, encapsulate in the operation, with the absolute garanty that diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_fixed_point.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_fixed_point.ml index c4f44f70acf55dc827a32dca6d239e3c82b04dc0..4bdef67d8953e3504993469a6133684a31dbe32e 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_fixed_point.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_fixed_point.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (fixed-point decimals) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^fixed point computation$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^fixed point computation$" Subject: On fixed-point decimal numbers. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_costs.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_costs.ml index 7d392321380ac4b0fe89071208d8533c06c2eb24..cf803b69bccda956e3e85b27eb705e698b3962cd 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_costs.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_costs.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (gas costs) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^gas cost functions$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^gas cost functions$" Subject: Gas costs Current limitations: for maps, sets & compare, we only test integer comparable keys. diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_levels.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_levels.ml index ae6b580a1f8244d1ce8f67ff2d712418c0501a20..dcf1846b704cbb802a22b714c7de4b98342c4dbf 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_levels.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_levels.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (Gas levels) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^gas levels$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^gas levels$" Subject: On gas consumption and exhaustion. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_properties.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_properties.ml index 9e0c1a32c05d22747ed74c3ae3cae922b3986ea7..1d1c3a85f500907b204e4f0c9bc26e7ea5168dbc 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_gas_properties.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_gas_properties.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (gas properties) - Invocation: dune exec src/proto_alpha/lib_protocol/test/test_gas_properties.exe + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/test_gas_properties.exe Subject: Arithmetic properties around gas. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_global_constants_storage.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_global_constants_storage.ml index e9c1f74cefc777dbd0ddf5da3fe393d687b96433..e02c1322ca5c947bf2c28686bc1a6fd6394ecccf 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_global_constants_storage.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_global_constants_storage.ml @@ -29,7 +29,7 @@ open Test_transfer (** Testing ------- Component: Protocol (global table of constants) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe \ -- test "^global table of constants$" Subject: This module tests that the global table of constants can be written to and read from across blocks. diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_helpers_rpcs.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_helpers_rpcs.ml index 28b477588a14c833599c428d47c9f229ae729ff1..ea8ed72ec49e57d8afb220870cfac9b200ce3dcd 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_helpers_rpcs.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_helpers_rpcs.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (Helpers RPCs) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^helpers rpcs$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^helpers rpcs$" Subject: On RPCs. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_interpretation.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_interpretation.ml index 31122e90dfdb2a305b1f1750d03dfe9753b8f28b..edd8abceb2253ffb8924793f83af8a97dd7924ac 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_interpretation.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_interpretation.ml @@ -1,8 +1,8 @@ (** Testing ------- Component: Protocol (interpretation) - Dependencies: src/proto_alpha/lib_protocol/script_interpreter.ml - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^interpretation$" + Dependencies: src/proto_011_PtHangz2/lib_protocol/script_interpreter.ml + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^interpretation$" Subject: Interpretation of Michelson scripts *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_level_module.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_level_module.ml index 64546a24a2644ba281dda5f922946e0e200aa04a..6d6152287ec9cae3075efba4e5479a2b305d3c0d 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_level_module.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_level_module.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (baking) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^level module$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^level module$" Subject: some functions in the Level module *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_liquidity_baking.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_liquidity_baking.ml index 80d86ec82c6304cbec50778141f15ef52ac2256d..03c140e7b93615076cab24becc767bf66cafb1fa 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_liquidity_baking.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_liquidity_baking.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: liquidity baking - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^liquidity baking$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^liquidity baking$" Subject: Test liquidity baking subsidies, CPMM storage updates, sunset shut off, and escape hatch shut off. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_origination.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_origination.ml index 5131562c67380274bc438e8a09f05bb7e9c628a2..d119b3b813ee3174af616f86c538daf79a96f9b4 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_origination.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_origination.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (origination) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^origination$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^origination$" Subject: On originating contracts. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_qty.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_qty.ml index dee482e48cbdd32c995e3ebc60b069794ce898c7..43c989c09dfbba074862d8f67df068e92a552f2f 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_qty.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_qty.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (quantities) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^qty$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^qty$" Subject: On tez quantities. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_reveal.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_reveal.ml index e1a96b4daa465cd83b436171a95337c8b478b90c..944535aa45b8d02f082d024525b318f6f1d1c57c 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_reveal.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_reveal.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (revelation) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^revelation$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^revelation$" Subject: On the reveal operation. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_rolls.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_rolls.ml index 60e67b75f1dc54ab055ac5928552ec6d968ca378..45981c76a08c85d861a6a6166d746a9324c00f03 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_rolls.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_rolls.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (rolls) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^rolls$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^rolls$" Subject: On rolls and baking rights. A delegate has baking rights provided that it has at least more than [token_per_rolls] tz of staking balance. This diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_sapling.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_sapling.ml index 693365ca0329d463f948bcf9f882eafcefac5fe4..c6180e821c3dd1f95c2a05362c1a5b552c586c9f 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_sapling.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_sapling.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (Sapling) - Invocation: cd src/proto_alpha/lib_protocol/test + Invocation: cd src/proto_011_PtHangz2/lib_protocol/test dune exec ./main.exe -- test "^sapling$" Subject: On the privacy-preserving library Sapling *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_saturation.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_saturation.ml index 099ead7ed7396a9fd044cfa4076532f94520b601..7baf5cc975bb39c234ad39cb3c2f633f1f6e4607 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_saturation.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_saturation.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (saturated arithmetic) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe \ -- test "^saturation arithmetic$" Subject: The gas is represented using saturated arithmetic. These unit tests check that saturated arithmetic operations diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_script_comparison.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_script_comparison.ml index 97d4083450c1e70464544f84ce540c62b933a927..fe82da111d7e33696dc03c3947297328c03fdd49 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_script_comparison.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_script_comparison.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Script_comparison - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_test_script_comparison + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/test_script_comparison.exe Subject: PBT of the Script_comparable.compare_comparable function. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_script_typed_ir_size.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_script_typed_ir_size.ml index 022b7314ad536066f38d1e9938eedf987755f1ac..5f72b61814f30695a9d46ab9a14603135fa41605 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_script_typed_ir_size.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_script_typed_ir_size.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (script typed IR size) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe \ -- test "^script typed ir size$" Subject: Script_typed_ir computes good approximation of values' sizes *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_seed.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_seed.ml index da125db73aa777265fb8f43c4f3010c8ed27bbb0..8d5f75827cec0caa217dfc464622221e783f971c 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_seed.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_seed.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (seed) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^seed$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^seed$" Subject: - seed_nonce_hash included in some blocks - revelation operation of seed_nonce that should correspond to each seed_nonce_hash diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_storage.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_storage.ml index b65ceab189b2e4e3453db3fb37d5991a95026766..4e9c5e4c0a315e38f3c118006e76bf84e2705b0a 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_storage.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_storage.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Context Storage - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test storage + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test storage Subject: Test the correctnesss of debug message from storage_functor *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_temp_big_maps.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_temp_big_maps.ml index dc6bddcf52e86751f965d64e9c32450e2310aa74..6559fb4e561bccf67c2194711a643b8a0743a3fa 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_temp_big_maps.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_temp_big_maps.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (temporary big maps) - Invocation: cd src/proto_alpha/lib_protocol/test && dune exec ./main.exe -- test "^temp big maps$" + Invocation: cd src/proto_011_PtHangz2/lib_protocol/test && dune exec ./main.exe -- test "^temp big maps$" Subject: On temporary big maps. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_tez_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_tez_repr.ml index 37990a26145b82b5bea9f4bdb7bb1556ac995775..55e7ad8acfb5d9adc35c868551e182a3fa4f9011 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_tez_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_tez_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol Library - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_test_tez_repr + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/test_tez_repr.exe Subject: Operations in Tez_repr *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_time_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_time_repr.ml index b2f67327deb9ff6832a145ba045c693c2d9633df..f453e57bff87056dbec0ea2487d50024c47e4c88 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_time_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_time_repr.ml @@ -1,7 +1,7 @@ (** Testing ------- Component: Protocol (time repr) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^time$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^time$" Subject: Error handling of time operations *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_timelock.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_timelock.ml index d57ca1b35b8862e32f91aff6af3863aff7de3b11..58d4dcdf4b8fcf4a628972862a5331535b2f4445 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_timelock.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_timelock.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (Timelock) - Invocation: cd src/proto_alpha/lib_protocol/test + Invocation: cd src/proto_011_PtHangz2/lib_protocol/test dune exec ./main.exe -- test "^timelock$" Subject: On timelock *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_transfer.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_transfer.ml index 73a667a1e23ebddb3903085dbf915e4ad1b67038..f280b25c0d267dc4cd9aba46451b030f3418ee39 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_transfer.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_transfer.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (transfer) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^transfer$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^transfer$" Subject: Quantities transfer between contracts. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_typechecking.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_typechecking.ml index 45b28509efdbea9392d1ccc3ecea1ea1ab164483..b24994e509fb6d534efad314ccbd6080bed59708 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_typechecking.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_typechecking.ml @@ -1,7 +1,7 @@ (** Testing ------- Component: Protocol (type-checking) - Invocation: cd src/proto_alpha/lib_protocol/test + Invocation: cd src/proto_011_PtHangz2/lib_protocol/test dune exec ./main.exe -- test "^typechecking$" Subject: Type-checking *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/test_voting.ml b/src/proto_011_PtHangz2/lib_protocol/test/test_voting.ml index a4a48dc8155f9ab884cc928a056483d70aca08ce..0adae3e70048763fdda743f5e1eef6d0bdac49d9 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/test_voting.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/test_voting.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol (voting) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^voting$" + Invocation: dune exec src/proto_011_PtHangz2/lib_protocol/test/main.exe -- test "^voting$" Subject: On the voting process. *) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/dune b/src/proto_011_PtHangz2/lib_protocol/test/unit/dune index 4b4f1a25968b152922cf9f338f72281861d795bb..c5d03655fe6baf3f31d8d831e19e1554bbc5f9b0 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/dune +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/dune @@ -1,5 +1,6 @@ -(executable +(test (name main) + (package tezos-protocol-011-PtHangz2-tests) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -15,10 +16,5 @@ -open Tezos_client_011_PtHangz2 -open Tezos_protocol_011_PtHangz2 -open Tezos_protocol_environment_011_PtHangz2 - -open Tezos_011_PtHangz2_test_helpers))) - -(rule - (alias runtest) - (package tezos-protocol-011-PtHangz2-tests) - (deps main.exe) + -open Tezos_011_PtHangz2_test_helpers)) (action (run ./main.exe "test" "Unit"))) diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_alpha_context.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_alpha_context.ml index ef7f84ba9a0e429cd9da6fda016f41ef05c2ff17..9dcc1b22923e9271b65227f8b62e637e55bfe8fa 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_alpha_context.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_alpha_context.ml @@ -29,7 +29,7 @@ open Alpha_context (** Testing ------- Component: Alpha_context - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Alpha_context + Invocation: dune exec ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe -- test Alpha_context Dependencies: helpers/block.ml Subject: To test the modules (including the top-level) in alpha_context.ml as individual units, particularly diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_contract_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_contract_repr.ml index 7ecff1016d63e4518ea9c2f299f8dcda8a15e33d..ca32a17dbfb8341f33740dfc45c9a044b2f75ffa 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_contract_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_contract_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Contract_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Contract_repr + Invocation: dune exec ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe -- test Contract_repr Dependencies: contract_hash.ml Subject: To test the modules (including the top-level) in contract_repr.ml as individual units, particularly diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_global_constants_storage.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_global_constants_storage.ml index 774e3c7cd12d468f53f86d7ae3f83e9b2212e888..5ae49f0cf1ffa80b6fe855d446a26013941ddf1d 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_global_constants_storage.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_global_constants_storage.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Global table of constants - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe \ + Invocation: dune exec ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe \ -- test Global_constants_storage Dependencies: contract_hash.ml Subject: Test the global table of constants diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_operation_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_operation_repr.ml index ee36932c65cf8a167a2257bda35d558cd1d42b7a..57f148b0b8e53f10715602ff0bfa63594d51b0a4 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_operation_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_operation_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Operation_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Operation_repr + Invocation: dune exec ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe -- test Operation_repr Dependencies: -- Subject: To test the modules (including the top-level) in operation_repr.ml as individual units, particularly diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_raw_level_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_raw_level_repr.ml index 123afe2f60303ff4c208517afc1e6c48f8b07265..e59b39c4249388265f6b4fc51bfc7a3efd529ad8 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_raw_level_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_raw_level_repr.ml @@ -29,7 +29,9 @@ open Tztest (** Testing ------- Component: Raw_level_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Raw_level_repr + Invocation: dune exec \ + ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe \ + -- test '^\[Unit\] Raw_level_repr.ml$' Dependencies: -- Subject: To test the modules (including the top-level) in raw_level_repr.ml as individual units, particularly diff --git a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_tez_repr.ml b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_tez_repr.ml index 08aa585c46fe55c7b7a72da9fdde867f1c41afb9..d03d2c46f4a2b173b20ac9f2ba82fe8ea77f4f76 100644 --- a/src/proto_011_PtHangz2/lib_protocol/test/unit/test_tez_repr.ml +++ b/src/proto_011_PtHangz2/lib_protocol/test/unit/test_tez_repr.ml @@ -25,8 +25,8 @@ (** Testing ------- - Component: Tez_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Tez_repr + Component: Tez_repr + Invocation: dune exec ./src/proto_011_PtHangz2/lib_protocol/test/unit/main.exe -- test Tez_repr Dependencies: -- Subject: To test the modules (including the top-level) in tez_repr.ml as individual units, particularly diff --git a/src/proto_alpha/lib_delegate/test/dune b/src/proto_alpha/lib_delegate/test/dune index 5336ec37f0e011f00692a8296b901e40523a6197..738cc9fc5034b8e3343898852d0153793ceb3836 100644 --- a/src/proto_alpha/lib_delegate/test/dune +++ b/src/proto_alpha/lib_delegate/test/dune @@ -1,5 +1,6 @@ -(executables - (names main) +(test + (name main) + (package tezos-baking-alpha) (libraries tezos-client-alpha tezos_baking_alpha @@ -15,12 +16,7 @@ -open Tezos_protocol_environment_alpha -open Tezos_base_test_helpers -open Tezos_alpha_mockup_simulator - -open Tezos_baking_alpha))) - -(rule - (alias runtest) - (package tezos-baking-alpha) - (deps main.exe) + -open Tezos_baking_alpha)) (action (run %{exe:main.exe} -q -e))) (rule diff --git a/src/proto_alpha/lib_plugin/test/dune b/src/proto_alpha/lib_plugin/test/dune index 3b34265955dbb3b4b29a6adbaef89966902b413e..7612ef56654e7e825cc0e78e1d75e3a6bd104373 100644 --- a/src/proto_alpha/lib_plugin/test/dune +++ b/src/proto_alpha/lib_plugin/test/dune @@ -1,5 +1,6 @@ -(executables - (names test_consensus_filter) +(test + (name test_consensus_filter) + (package tezos-protocol-plugin-alpha) (libraries tezos-base alcotest-lwt tezos-test-helpers @@ -13,13 +14,3 @@ -open Tezos_protocol_plugin_alpha -open Tezos_protocol_environment_alpha -open Tezos_protocol_alpha.Protocol))) - -(rule - (alias buildtest) - (deps test_consensus_filter.exe) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-plugin-alpha) - (action (run %{exe:test_consensus_filter.exe} -q -e))) diff --git a/src/proto_alpha/lib_protocol/test/dune b/src/proto_alpha/lib_protocol/test/dune index b07bc31ff11e1c44ad3aa33d4bab08ed7f93bda6..6ce15274ff6f025160cf785b6a66db5a7e8d6e28 100644 --- a/src/proto_alpha/lib_protocol/test/dune +++ b/src/proto_alpha/lib_protocol/test/dune @@ -1,4 +1,4 @@ -(executables +(tests (names main saturation_fuzzing test_gas_properties @@ -6,6 +6,8 @@ liquidity_baking_pbt test_script_comparison test_sampler) + (package tezos-protocol-alpha-tests) + (deps (glob_files contracts/*)) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -76,15 +78,3 @@ (alias runtest_liquidity_baking_pbt) (package tezos-protocol-alpha-tests) (action (run %{exe:liquidity_baking_pbt.exe}))) - -(rule - (alias runtest) - (package tezos-protocol-alpha-tests) - (deps - (alias runtest_proto_alpha) - (alias runtest_sampler) - (alias runtest_saturation_fuzzing) - (alias runtest_test_tez_repr) - (alias runtest_liquidity_baking_pbt) - (alias runtest_test_script_comparison)) - (action (progn))) diff --git a/src/proto_alpha/lib_protocol/test/saturation_fuzzing.ml b/src/proto_alpha/lib_protocol/test/saturation_fuzzing.ml index c021d2c6b9f76f914908104984b5619bd6041a6f..bc3a97638f9968a8daf9771b14923ae63114dab3 100644 --- a/src/proto_alpha/lib_protocol/test/saturation_fuzzing.ml +++ b/src/proto_alpha/lib_protocol/test/saturation_fuzzing.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol Library - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_saturation_fuzzing + Invocation: dune exec src/proto_alpha/lib_protocol/test/saturation_fuzzing.exe Subject: Operations in Saturation_repr *) diff --git a/src/proto_alpha/lib_protocol/test/test_double_preendorsement.ml b/src/proto_alpha/lib_protocol/test/test_double_preendorsement.ml index abf8b546b59e29c3d5469a5b05d090b95f067b6d..d5e5f7a2c2b34c3f7419c536da58d561bfb75dbd 100644 --- a/src/proto_alpha/lib_protocol/test/test_double_preendorsement.ml +++ b/src/proto_alpha/lib_protocol/test/test_double_preendorsement.ml @@ -26,7 +26,8 @@ (** Testing ------- Component: Protocol (double preendorsement) in Full_construction & Application modes - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test "^double preendorsement full construction$" + Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ + -- test "^double preendorsement$" Subject: These tests target different cases for double preendorsement *) open Protocol diff --git a/src/proto_alpha/lib_protocol/test/test_failing_noop.ml b/src/proto_alpha/lib_protocol/test/test_failing_noop.ml index 70af315570af778e64b33ed432246ba241a63c07..a791db14ab4e830aa547635dbaa0e41980b0150e 100644 --- a/src/proto_alpha/lib_protocol/test/test_failing_noop.ml +++ b/src/proto_alpha/lib_protocol/test/test_failing_noop.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe\ + Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ -- test "^failing_noop operation$" Subject: The Failing_noop operation was added bearing in mind the possibility for the end user to sign arbitrary bytes, diff --git a/src/proto_alpha/lib_protocol/test/test_sampler.ml b/src/proto_alpha/lib_protocol/test/test_sampler.ml index 5ffd78e1c6eb70b2346c9aa806345d866bb5c6c5..630794d84a9655a830482ebaac8a49faeeca6396 100644 --- a/src/proto_alpha/lib_protocol/test/test_sampler.ml +++ b/src/proto_alpha/lib_protocol/test/test_sampler.ml @@ -26,8 +26,8 @@ (** Testing ------- Component: Protocol Library - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_saturation_fuzzing - Subject: Operations in Saturation_repr + Invocation: dune exec src/proto_alpha/lib_protocol/test/test_sampler.exe + Subject: Sampler *) open Lib_test.Qcheck_helpers diff --git a/src/proto_alpha/lib_protocol/test/test_script_comparison.ml b/src/proto_alpha/lib_protocol/test/test_script_comparison.ml index 0883396d00e64bfead71926e662f61348001b335..3c498983811f4ff82b2dee7a1e3558ad1d45feea 100644 --- a/src/proto_alpha/lib_protocol/test/test_script_comparison.ml +++ b/src/proto_alpha/lib_protocol/test/test_script_comparison.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Script_comparison - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_test_script_comparison + Invocation: dune exec src/proto_alpha/lib_protocol/test/test_script_comparison.exe Subject: PBT of the Script_comparable.compare_comparable function. *) diff --git a/src/proto_alpha/lib_protocol/test/test_tez_repr.ml b/src/proto_alpha/lib_protocol/test/test_tez_repr.ml index ba2f96281b245b38c81a5ca815e6320d52320487..12007f6647e77c167ecd3e607fdbd1aec0b6e27c 100644 --- a/src/proto_alpha/lib_protocol/test/test_tez_repr.ml +++ b/src/proto_alpha/lib_protocol/test/test_tez_repr.ml @@ -26,7 +26,7 @@ (** Testing ------- Component: Protocol Library - Invocation: dune build @src/proto_alpha/lib_protocol/runtest_test_tez_repr + Invocation: dune exec src/proto_alpha/lib_protocol/test/test_tez_repr.exe Subject: Operations in Tez_repr *) diff --git a/src/proto_alpha/lib_protocol/test/test_ticket_balance_key.ml b/src/proto_alpha/lib_protocol/test/test_ticket_balance_key.ml index 3d5d8f54e807c3244f3c568356da6522e641b1ee..455b87809d28059eb1273025b743adcac377da01 100644 --- a/src/proto_alpha/lib_protocol/test/test_ticket_balance_key.ml +++ b/src/proto_alpha/lib_protocol/test/test_ticket_balance_key.ml @@ -26,8 +26,8 @@ (** Testing ------- Component: Protocol (Ticket_balance_key) - Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe -- test \ - "^ticket balance key" + Invocation: dune exec src/proto_alpha/lib_protocol/test/main.exe \ + -- test "^ticket balance key" Subject: Ticket balance key hashing *) diff --git a/src/proto_alpha/lib_protocol/test/unit/dune b/src/proto_alpha/lib_protocol/test/unit/dune index 6c2c15be9ca69b5b0cee93dc0db06ee178952662..ff501bacd2e134a7522e1477ca918c693cacc471 100644 --- a/src/proto_alpha/lib_protocol/test/unit/dune +++ b/src/proto_alpha/lib_protocol/test/unit/dune @@ -1,5 +1,6 @@ -(executable +(test (name main) + (package tezos-protocol-alpha-tests) (libraries tezos-base tezos-micheline tezos-protocol-environment @@ -15,10 +16,5 @@ -open Tezos_client_alpha -open Tezos_protocol_alpha -open Tezos_protocol_environment_alpha - -open Tezos_alpha_test_helpers))) - -(rule - (alias runtest) - (package tezos-protocol-alpha-tests) - (deps main.exe) - (action (run ./main.exe "test" "Unit"))) + -open Tezos_alpha_test_helpers)) + (action (run %{test} "test" "Unit"))) diff --git a/src/proto_alpha/lib_protocol/test/unit/test_raw_level_repr.ml b/src/proto_alpha/lib_protocol/test/unit/test_raw_level_repr.ml index 123afe2f60303ff4c208517afc1e6c48f8b07265..9543efcdf22e1785e1b476afc9fe9026ae2d829f 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_raw_level_repr.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_raw_level_repr.ml @@ -29,7 +29,8 @@ open Tztest (** Testing ------- Component: Raw_level_repr - Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe -- test Raw_level_repr + Invocation: dune exec ./src/proto_alpha/lib_protocol/test/unit/main.exe \ + -- test '^\[Unit\] Raw_level_repr.ml$' Dependencies: -- Subject: To test the modules (including the top-level) in raw_level_repr.ml as individual units, particularly