Skip to content

Commit

Permalink
umu_test_plugins: add assertion for STORE
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Oct 25, 2024
1 parent fdc201a commit 07ac88a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/test_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ python --version
tmp=$(mktemp)
mkdir -p "$HOME/.local/share/Steam/compatibilitytools.d"
mkdir -p "$HOME/Games/umu/umu-0"
curl -LJO "https://github.com/Open-Wine-Components/umu-proton/releases/download/UMU-Proton-9.0-3/UMU-Proton-9.0-3.tar.gz"
tar xaf UMU-Proton-9.0-3.tar.gz
mv UMU-Proton-9.0-3 "$HOME/.local/share/Steam/compatibilitytools.d"
curl -LJO "https://github.com/Open-Wine-Components/umu-proton/releases/download/UMU-Proton-9.0-3/UMU-Proton-9.0-3.2.tar.gz"
tar xaf UMU-Proton-9.0-3.2.tar.gz
mv UMU-Proton-9.0-3.2 "$HOME/.local/share/Steam/compatibilitytools.d"

echo "[umu]
proton = '~/.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-3'
game_id = 'umu-0'
proton = '~/.local/share/Steam/compatibilitytools.d/UMU-Proton-9.0-3.2'
game_id = 'umu-1141086411'
prefix = '~/Games/umu/umu-0'
exe = '~/Games/umu/umu-0/drive_c/windows/syswow64/wineboot.exe'
launch_args = ['-u']
" >> "$tmp"


UMU_LOG=debug GAMEID=umu-0 "$PWD/.venv/bin/python" "$HOME/.local/bin/umu-run" --config "$tmp"
# Run the 'game' and ensure the protonfixes module finds its fix in umu-database.csv
UMU_LOG=debug GAMEID=umu-1141086411 STORE=gog "$PWD/.venv/bin/python" "$HOME/.local/bin/umu-run" --config "$tmp" >> /tmp/umu-log.txt && grep -E "INFO: Non-steam game Silent Hill 4: The Room \(umu-1141086411\)" /tmp/umu-log.txt

0 comments on commit 07ac88a

Please sign in to comment.