Launcher suite: in a build without Preset K, the state cases leave a game installed and two later checks fail

未關閉 適合新手
#275 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
88/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
cpp
領域
testing

研究方向

從 clean/installer/tests/launcher_state_cases.py 開始並閱讀 asi_seed_cases,將其提前返回與正常清理路徑進行比較。在使用 -DWRONGGPU_PRESET_K=OFF 的建置中,確認遊戲已解除安裝且其資料夾已移除;launcher verbs suite 的共用模型資料和程式庫頁面檢查應該通過。

由索引模型根據 Issue 內容生成。

描述

In clean/installer/tests/launcher_state_cases.py, asi_seed_cases returns early when the install writes no
wronggpu-asi.ini, which is what happens in a launcher built with -DWRONGGPU_PRESET_K=OFF. That early return skips the
uninstall and folder removal the normal path ends with, so the test game "State Asi" stays installed. Two later checks then
fail for a reason that is not their own:

  • "last uninstalled ...: the shared model data goes" (State Asi still uses the shared model data);
  • the library page dump (a third game is listed).

Seen on 0.6.5 (2b31cbc) with a Preset-K-off launcher build running the launcher verbs suite.

Suggested fix (3 lines): in that early return, uninstall the game and remove its folder as the normal path does. With it,
the verbs suite went from 3 failures to 0 here. Happy to send it as a small PR if that's easier.

主要語言
C++
星號
12
分支
2
平均合併
3 小時 10 分鐘
30 天內合併 PR
171

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

phantoslayer21/wronggpu 的其他 Issue

查看 phantoslayer21/wronggpu 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。