Inconsistent syntax expectations in data files #284
Labels
No labels
approved
bug
dependencies
DO-NOT-MERGE
enhancement
good-first-issue
help-wanted
historical-reviewed
historical-reviewing
needs-adoption
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
single-reviewer
size-l
size-m
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/mbedtls-framework#284
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We have two pieces of code that parse
.datafiles containing unit tests:framework/scripts/mbedtls_framework/test_suite_preprocessor.py, moved fromframework/scripts/generate_test_code.pyin https://github.com/Mbed-TLS/mbedtls-framework/pull/282, used to generate.dataxfiles which are then used to run the unit tests.framework/scripts/mbedtls_framework/collect_test_cases.py, used in particular to list the test cases in outcome analysis, so it's what we use to check that all test cases are executed.These have independent parsers, and they make different assumptions when we deviate from our habits. In particular:
without a blank line is treated as two test cases when generating
.dataxfile, but “Description 2” is ignored for coverage analysis, so we may miss some test cases.