Skip to content

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

Open

Description

@j0nsh1n

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions