Skip to content

fix(构建回归): 修复 Xorg 启动器测试并同步 ReliefNT main - #117

Merged
Leonmmcoset merged 3 commits into
mainfrom
codex/fix-xorg-wrapper-ci
Nov 22, 2026
Merged

Leonmmcoset merged 3 commits into
mainfrom
codex/fix-xorg-wrapper-ci

Conversation

@Leonmmcoset

Copy link
Copy Markdown
Collaborator

问题与效果

修复 main 上 Build and regression tests 的失败:Xorg 启动器已经要求 DRM 字符设备,并为 VirtIO、VMware SVGA 分别生成硬件光标配置,但测试夹具没有 DRM 节点,且仍将 SVGA 视为无需生成配置的后端。

测试现在通过私有 /dev/null 符号链接模拟字符设备,校验 VirtIO/SVGA 的配置与完整启动参数,并覆盖管理员配置覆盖、PCI 信息缺失/未知、DRM 节点缺失/类型错误、DRM 优先级以及 fbdev 深度设置和失败回退。每个场景清理生成文件,失败时输出场景和参数,避免旧文件导致误通过。生产启动器保持原样。

同时将 ReliefNT gitlink 从 a7f0f233d7c7b5241354ea6bc3f1c9a175abfa71 更新至远程 main 的 eb25eb5ea9aefcc478006cc055e61a7081e469a8,引入 ReliefNT #37 的 Intel I226-V 支持。

验证

以下本地检查通过:

  • sh -n tests/build/test-xorg-wrapper.sh
  • sh tests/build/test-xorg-wrapper.sh:15 个场景通过;此前也已在 dash、bash 和非特权用户下通过。
  • python3 tools/test_xdm_launcher.py:30 个测试通过。
  • python3 tools/test_xorg_qemu.py --source-only:通过。
  • sh tests/build/test-x11-only.sh:通过。
  • 在 kernel/reliefnt 中运行 python3 tools/test_i225.py:I225-V、I226-V 的 PCI/PHY/TX/RX/MSI/DMA 模型回归通过,启用 ASan/UBSan。
  • git diff --check:通过。

已在修复前复现原始 Xorg 测试失败。本次未重新执行完整镜像构建,远程构建与回归结果待本 PR 的 GitHub Actions 验证。

兼容性与发布影响

ReliefNT 更新保留 I225_V 配置符号、i225 模块名和现有公开接口,无需修改 ReliefOS 配置。仅更新该子模块引用,其余子模块保持现有版本。

@Leonmmcoset
Leonmmcoset merged commit 985383a into main Nov 22, 2026
10 checks passed
@Leonmmcoset
Leonmmcoset deleted the codex/fix-xorg-wrapper-ci branch November 22, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants