- Apr 07, 2023
-
-
Vincent Stehle authored
Also, add a unit test. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Describe the convention in comments and adjust existing naming accordingly. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
- Add a unit test with an empty .ekl file. - Add identification tests. While at it, refine the naming in the db. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Perform some sanity checks on the tests after loading. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Refine a bit the fields we create for the synthesized dropped tests. This helps when the config file in use has rules referring those fields for their criteria, and avoids exceptions. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Feb 02, 2023
-
-
Vincent Stehle authored
SIE.yaml: add known u-boot limitations See merge request !18
-
- Jan 26, 2023
-
-
Vincent Stehle authored
The U-Boot QueryVariableInfo() implementation does not check properly for all invalid inputs conditions instead of delegating to StMM. Add a rule to override the result as "known u-boot limitation" in those cases. Link: https://lore.kernel.org/u-boot/20230126031512.17450-1-masahisa.kojima@linaro.org/ Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
The SIE errors, which we originally classified as "known rpmb limitations" can happen not only with an eMMC but in the more general case with a small storage for UEFI variables. This is typically the case with OP-TEE. Let's re-classify those errors as "known size limitations". This is just renaming at this stage. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Dec 14, 2022
-
-
Vincent Stehle authored
The ACS-IR 2.0 BET-1 SIE SCT is missing a few tests due to a patch not applying properly during build. This results in dropped tests being reported when parsing results. Force the results of those tests as `KNOWN ACS LIMITATION'. Also, update the schema. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Factorise tests `descr' and `sub set' enums definitions into the common schema. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Constrain a bit more which fields a config file can update in the schema. As of today, configs update either comments or results. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Nov 03, 2022
-
-
Vincent Stehle authored
Add the EBBR sequence files from the ACS-IR v22.10_2.0.0_BETA-1 and update the identification database accordingly. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Oct 21, 2022
-
-
Vincent Stehle authored
When running the new 32b ACS-IR, new HII Database failures are caught. Triage them automatically after analysis. While at it, update one comment in the config file to better match the reality and update the schema. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Add the EBBR sequence files from the ACS-IR v22.10_IR_32b_0.7_BETA-0. Update the identification database accordingly, mentioning those IR v1.x config files as deprecated. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 16, 2022
-
-
Vincent Stehle authored
This fixes the case when the path contains spaces. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Make the test for junit output depend on the availability of the junit_xml python module. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 15, 2022
-
-
Vincent Stehle authored
Start factorizing our schemas, now that validate.py supports it. We start with the obvious guid definition, as a proof of concept. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Enhance the validate.py script to allow referencing other schemas from a schema, and load the local file with the script. This will allow us to factorize our schemas. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
We need double quotes for proper multiline strings in YAML. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 14, 2022
-
-
Vincent Stehle authored
Reword our asserts to fix the errors reported by flake8, such as the following: ./parser.py:375:11: E275 missing whitespace after keyword Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 09, 2022
-
-
Vincent Stehle authored
This avoids an exception when junit is not installed. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 07, 2022
-
-
Vincent Stehle authored
Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Collect a few meta-data during execution, such as the date, the parser command line, the sequence file identification and the git commit of the parser when possible. We add a new `--print-meta' command line option to display the collected meta-data. We output the collected meta-data to the generated files for the following formats: md, yaml and template. Also, we gracefully ignore the meta-data when reading back a result.md file with meta-data. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
We add schemas to validate the generated YAML files contents and use them in the unit test. The constraints are a bit loose but this is better than nothing. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
JSON schema definitions are better put in the `$defs' object; fix our schemas accordingly. While at it, add `$id' identifiers and bump `$schema' version. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
We borrow the validate.py script from the SystemReady scripts repository[1] to validate our YAML files against schemas. We deprecate the `--validate-config' and the `--validate-seq-db' command line options of the parser. We adapt the `make check' commands. [1]: https://gitlab.arm.com/systemready/systemready-scripts Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Add a shell script to test functionalities of the parser and run it from `make check'. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Sep 05, 2022
-
-
Vincent Stehle authored
Sequence files See merge request !16
-
- Aug 30, 2022
-
-
Vincent Stehle authored
Add constraints to the schemas to strengthen validation even more where possible. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
Issue a deprecation warning when we detect a deprecated sequence file being used. We cannot deprecate ACS IR v1.0 sequence file as it is identical to the ACS IR v2.0 BET-0 one. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
Vincent Stehle authored
This is the same sequence file as ACS-IR v1.0 but we capture it for completeness. Update the identification database accordingly. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Aug 29, 2022
-
-
Vincent Stehle authored
Remove seq files See merge request !15
-
- Aug 05, 2022
-
-
Vincent Stehle authored
The ACS build scripts use the sequence files from the bbr-acs repository. Remove the unused EBBR and SBBR sequence files from the parser repository to avoid confusion. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-
- Aug 04, 2022
-
-
Vincent Stehle authored
Fix a bug when using junit output See merge request !14
-
Drew Reed authored
Correct the name of the module being looked for in the assert at the beginning of the junit output function. Signed-off-by:
Drew Reed <Drew.Reed@arm.com>
-
- Jul 20, 2022
-
-
Vincent Stehle authored
Add an SIE configuration See merge request !12
-
Vincent Stehle authored
Added support for outputing results in junit format See merge request !13
-
- Jul 19, 2022
-
-
Vincent Stehle authored
Add a configuration to process SCT results from the Security Interface Extension ACS. The rules in this new configuration can override tests results with a new `KNOWN RPMB LIMITATION' result. Add the necessary enums to our schema and adjust the sequence files database to use the new configuration automatically when the SIE ACS is detected. Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>
-