2 Commits
Author SHA1 Message Date
hm 1efbeccaca test: 语料缺失跳过 + 工业格式契约 + 并行抖动修复 + 回归期望对齐
- 全量 ctest 基线 29 failures 分类处置:真实内核缺陷由本分支其它提交修复,
  本提交处理测试基础设施问题。
- 缺外部语料(corpus/ 已 gitignore)的用例改为 GTEST_SKIP 并给出检索路径:
  StepUserFile 6 项(corpus/step/test_cube.STEP)、Io3mfTest 2 项
  (corpus/3mf/*.3mf)、DxfDrawingCorpus.FlangeSampleHasRichContent。
- 并行 ctest 抖动(-j12 下偶发失败)根因:测试共享固定临时文件名。改为
  PID+计数器唯一路径:test_step_corpus(STEP/IGES roundtrip)、test_dwg
  (DwgChannel 桩转换器/输入/夹具)。`ctest -j12 --repeat until-fail:3`
  396 次 0 失败。
- 工业格式契约:read_file_bytes 改 bool 返回不抛异常;import_jt /
  import_parasolid_xt / import_acis_sat 对空路径/不可读文件返回空 BrepModel
  (与 import_step/import_iges 一致;import_ifc 保持原契约),export_jt 返回
  f.good();同步更新 3 个 EXPECT_THROW 用例。
- 回归期望对齐:解析球面 make_sphere(r, su, sv) 面数契约 = su·sv
  (Sphere_1000PlusFaces/5000PlusFaces/Heal_LargeModel/Export_LargeMesh 调整到
  真实契约并保持大模型意图);NURBS 曲率可视化测试容忍离散 H/K 在尖锐顶点
  不满足 H²≥K(判别式钳制退化)。
2026-10-25 16:12:47 +08:00
茂之钳 7b76689ea1 feat(v11): CI/CD + regression tests + fuzzing + benchmarks + code quality
CI / Build & Test (push) Failing after 41s
CI / Release Build (push) Failing after 30s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
v11.1 — Test Infrastructure (14 files):
- .github/workflows/ci.yml: Ubuntu 22.04 + GCC 11, auto ctest on push
- tests/regression/: degenerate geometry, extreme coords, thin wall, large models
- tests/fuzz/: SDF random CSG, random booleans, format round-trip, continuous mode
- tests/benchmark/: boolean perf, MC perf, IO perf benchmarks
- docs/benchmark-report.md: benchmark template

v11.2 — Code Quality + Docs:
- .clang-tidy: 15 check categories, 22 exclusions
- .github/workflows/static-analysis.yml: clang-tidy CI scan
- CODEOWNERS, SECURITY.md
- docs: API overview, testing guide, contributing guide
- README: module capability overview table

Pending: binary formats + curve projection (retrying)
2026-07-27 01:10:58 +08:00