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

オープン 初心者向け
#275 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
171

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

phantoslayer21/wronggpu のほかの issue

phantoslayer21/wronggpu の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。