Kaitai: Add input samples for semantic validation of ground int encodings
Context
Follows !10939 (merged), part of #6629.
Add semantic validation for .ksy files that represent ground int encodings.
This MR does:
- Adds new script to automate input generation as part of the dd0cc502.
- Adds e2e validation for remaining ground int encodings.
Observe that e2e testing also exposes a "bug" in translation high level plan - #6730. The issue is tracked as part of the codebase now.
Follow-up
Manually testing the MR
- CI should pass
- It is important that during input generation inside
generate_input_samples.sh, errors coming fromoctez-codec encode [id] from [data]are not silently propagated, as this may give false impression about the correctness. I have tested this locally to not be the case.
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Martin Tomazic