feat: UNSTRING解析增强 + 跨FD数值统一 + 文件I/O模块

This commit is contained in:
hangshuo652
2026-06-30 22:14:47 +08:00
parent 2f61ad7f1a
commit b3d1643220
7 changed files with 980 additions and 14 deletions
+4 -3
View File
@@ -545,13 +545,15 @@ def main():
db_input=db_input if db_input else None,
data_fields=fields_dict)
select_info = parse_file_control(preprocessed)
output_input_files(records, outdir / 'input', filepath.stem, roles,
fd_fields, field_to_fd, open_dir,
term_types=term_types)
term_types=term_types,
data_fields=fields_dict, select_info=select_info)
gcov_data = None
if gcov_mode and proc_div and _HAVE_GCOV:
select_info = parse_file_control(preprocessed)
_temp = temp_dir or str(outdir / '.gcov_cache')
source_dir = str(filepath.parent)
expected_records: list[dict] = [{}] * len(records)
@@ -590,7 +592,6 @@ def main():
f"期望={d.expected!r}, 实际={d.actual!r}")
if do_run and proc_div and _HAVE_RUNNER:
select_info = parse_file_control(preprocessed)
run_and_compare(
filepath.stem, str(outdir), fields_dict,
fd_fields, select_info, open_dir,