mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-26 00:06:02 +00:00
fix(quest): gamescope no longer aborts at start with vk.WaitSemaphores -13 (#1938)
This commit is contained in:
5 files changed
+270
-16
No files matched your search
@@ -19,6 +19,15 @@ class QuestKgslTest(unittest.TestCase):
|
||||
self.assertIn('PASS: 12 GPUOBJ', result.stdout)
|
||||
self.assertIn('PASS: denied timestamp reads', result.stdout)
|
||||
|
||||
def test_refused_timestamp_read_is_answered_from_waits(self):
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
binary = str(Path(folder) / 'test-kgsl-read')
|
||||
subprocess.run(['gcc', '-Wall', '-Wextra', '-Werror', '-O2', '-o', binary,
|
||||
str(QUEST.parent / 'tests/test_kgsl_read.c'),
|
||||
str(QUEST.parent / 'linuxfs/preload/kgslpoll.c')], check=True)
|
||||
result = subprocess.run([binary], capture_output=True, text=True, check=True, timeout=10)
|
||||
self.assertIn('PASS: refused timestamp reads', result.stdout)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user