Repository navigation
fix(构建回归): 修复 Xorg 启动器测试并同步 ReliefNT main - #117
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与效果
修复 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.shsh 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 配置。仅更新该子模块引用,其余子模块保持现有版本。