- Fix false positive "missing tests" errors when processing secondary
workdirs (e.g., deprecate_eof_support). The validation now only
checks tests that actually exist in the current workdir rather than
all tests in groups.json for the TAP_GROUP.
- Add --ignore-errors negative,source --synthesize-missing flags to
genhtml calls in run-tests-isolated.bash to match the multi-group
runner and prevent HTML generation failures on coverage data with
negative branch counts.
log.critical(f"TAP_GROUP '{TAP_GROUP}': {len(missing_tests)} expected tests did not run: {sorted(missing_tests)}")
rc=rc+len(missing_tests)
iflen(passed_tests)!=len(expected_tests):
log.critical(f"TAP_GROUP '{TAP_GROUP}': Expected {len(expected_tests)} tests to pass, but only {len(passed_tests)} passed. Failed: {len(failed_tests)}, Missing: {len(missing_tests)}")
# Ensure rc is non-zero to indicate failure
ifrc==0:
rc=len(expected_tests)-len(passed_tests)
# Get tests that exist in the current workdir and belong to TAP_GROUP
log.critical(f"TAP_GROUP '{TAP_GROUP}': {len(missing_tests)} expected tests did not run: {sorted(missing_tests)}")
rc=rc+len(missing_tests)
iflen(passed_tests)!=len(expected_in_workdir):
log.critical(f"TAP_GROUP '{TAP_GROUP}': Expected {len(expected_in_workdir)} tests to pass, but only {len(passed_tests)} passed. Failed: {len(failed_tests)}, Missing: {len(missing_tests)}")