From 6667266fd50694f8a6d9a387e1dc8a024f17611c Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Thu, 30 May 2024 15:06:42 -0400 Subject: [PATCH] Lengthen the timeout for two test cases --- test/cmake/Video.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/cmake/Video.cmake b/test/cmake/Video.cmake index f4db7ee5..9c833ebd 100644 --- a/test/cmake/Video.cmake +++ b/test/cmake/Video.cmake @@ -44,7 +44,11 @@ add_python_test( TEST_MODULE opengl.core_switch_opengl_to_software_runtime CONTENT "${NDS_ROM}" REQUIRES_OPENGL + TIMEOUT 30 ) +# This test is slower for some reason; +# there must be a lot of overhead +# in the OpenGL context creation add_python_test( NAME "Core can switch from software to OpenGL mode and back at runtime" @@ -58,4 +62,15 @@ add_python_test( TEST_MODULE opengl.core_switch_opengl_to_software_and_back_runtime CONTENT "${NDS_ROM}" REQUIRES_OPENGL + TIMEOUT 30 ) + +# See https://github.com/JesseTG/melonds-ds/issues/155 +add_python_test( + NAME "Core does not crash at in-core error screen when using OpenGL" + TEST_MODULE "" + CONTENT "${NDS_ROM}" + CORE_OPTION "melonds_render_mode=opengl" + REQUIRES_OPENGL + DISABLED +) # TODO: Implement