You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .datax file, but “Description 2” is ignored for coverage analysis, so we may miss some test cases.
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 Generate MLDSA test cases for the driver and dispatch layers #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.