mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
Present games from the KDE Steam client through software WSI (#1518)
This commit is contained in:
1 parent
8471682b1c
commit
49b6a0739d
3 files changed
+14
-1
No files matched your search
@@ -42,6 +42,15 @@ class DesktopSteamLaunchTest(unittest.TestCase):
|
||||
self.assertEqual(result.stdout.splitlines(), ['1', 'desktop', ':7', 'steam', 'steam://open/library'])
|
||||
self.assertFalse((self.session / 'steam-launch').exists())
|
||||
|
||||
def test_desktop_games_present_without_dri3(self):
|
||||
(self.root / 'supervisor').write_text('#!/bin/bash\nprintf "%s\\n" "$MESA_VK_WSI_DEBUG"\n')
|
||||
self.env.pop('MESA_VK_WSI_DEBUG', None)
|
||||
self.assertEqual(self.launch('desktop', '945360').stdout.splitlines(), ['sw'])
|
||||
self.env['MESA_VK_WSI_DEBUG'] = 'noshm'
|
||||
self.assertEqual(self.launch('desktop', '945360').stdout.splitlines(), ['noshm,sw'])
|
||||
self.env['MESA_VK_WSI_DEBUG'] = 'sw,noshm'
|
||||
self.assertEqual(self.launch('desktop', '945360').stdout.splitlines(), ['sw,noshm'])
|
||||
|
||||
def test_desktop_game_url_goes_to_client(self):
|
||||
result = self.launch('desktop', '501590')
|
||||
self.assertEqual(result.returncode, 0, result.stderr)
|
||||
|
||||
Reference in new issue
Block a user