lutris/tests
Daniel Johnson 382d5681d5 Fix "scope" option and restore "Default installation folder"
This was the only option to use the 'scope' feature, and in 0.5.14 it was available in system and runner options, but not games.

This fix restores that behavior.

The trick is to pass the config_level through to the various option boxes, not just the config_section. The first is which dialog you are in (roughly) and the second is which tab.
2023-12-12 18:47:46 -05:00
..
fixtures Add glxinfo and vulkaninfo examples for Nvidia 2019-01-16 16:55:01 -08:00
runners Make all my new error messages for localization. 2023-11-29 19:16:01 -05:00
util/graphics Typing additions for drivers file 2023-05-20 22:27:16 -04:00
check_prefixes.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
README Update manual test scenario 2013-12-03 23:49:32 +01:00
test_dialogs.py Fix "scope" option and restore "Default installation folder" 2023-12-12 18:47:46 -05:00
test_glxinfo.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
test_installer.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
test_lutris_wrapper.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
test_moddb_helper.py Placate flake8! 2023-01-24 17:26:28 -05:00
test_pga.py Style fix 2021-12-14 14:03:59 -08:00
test_registry.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
test_resources.py Add support for launch configs with lutris: URLs 2022-12-27 03:44:52 -08:00
test_runners.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
test_scummvm.py scummvm: handle runner not being available in get_command, add/fix test 2023-10-29 15:51:53 -07:00
test_snes9x.py Minor cosmetic changes 2013-05-28 14:17:41 +02:00
test_utils.py Replace add_url_tags() with gtk_safe_urls(), which does both conversion and escaping. 2023-11-04 07:36:28 -04:00
test_wine.py - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00

Manual test suite
-----------------

These steps must be followed and succeed for each new release of Lutris.
It is advised to run these tests on a clean system (a 2nd computer or a dual
boot should be helpful here).

Supported systems:
The tests should be run on any of these systems (32 or 64bit):
    - Ubuntu LTS and current
    - OpenSUSE current
    - Fedora current
    - Debian testing or sid (stable isn't supported officially)
    - Archlinux
Any other distrution is good but is not a requirement.

0. Take note of your testing config

Write down the following:
    - date of the day
    - operating system + architecture
    - amounts of RAM
    - CPU model
    - Model of GPU + amount of video RAM

1. Wipe/backup any trace of Lutris and runners.

* Move lutris settings.

mv ~/.config/lutris ~/.config/lutris.bak
mv ~/.cache/lutris ~/.cache/lutris.bak
mv ~/.local/share/lutris ~/.local/share/lutris.bak

* Remove any runner globally installed.

sudo apt-get remove wine
sudo apt-get remove steam

* Create an empty folder to put your games in.

mkdir ~/games-testing

2. Get and install lutris

* Fetch the code

git clone https://github.com/lutris/lutris
cd lutris

option 1: install with python

sudo python setup.py install

option 2: package and install the .deb/.rpm (better)

# This step will require you to have the required packaging tools
make build-all

Scenario 1: Launching Lutris
- You can find a lutris icon in your menu/launcher (Unity dash, GS launcher,
  XFCE main menu, ...) in the games category
- When clicking the interface loads with no complains
- After the UI has been opened, there should be ~/.config/lutris,
  ~/.cache/lutris and ~/.local/share/lutris directories

Scenario 2: Installing teeworlds from the website (64bit only ATM)
- Using Chrome or Chromium open http://lutris.net/games/teeworlds/
- Click the install button
- The lutris installer dialog should open and the install process can begin
- Follow the install process and click "Play"
- The game should launch
- Close the game and open lutris
- Teeworlds should have an icon