Ver Fonte

tests: Disable compiled shader module cache for unit tests

rdb há 1 mês atrás
pai
commit
983fd99046
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      tests/display/test_glsl_shader.py

+ 2 - 0
tests/display/test_glsl_shader.py

@@ -7,6 +7,8 @@ from _pytest.outcomes import Failed
 
 SHADERS_DIR = core.Filename.from_os_specific(os.path.dirname(__file__))
 
+core.BamCache.get_global_ptr().set_cache_compiled_shaders(False)
+
 
 def test_glsl_test(env):
     "Test to make sure that the GLSL tests work correctly."