From 403689f3bf9c1b117e25881ad1b7bc0872e2189c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 2 Sep 2022 21:53:13 +0200 Subject: [PATCH] python: skip GL text rendering test case on ES2. Needs OES_mapbuffer but I don't have extension queries exposed yet. --- src/python/magnum/test/test_text_gl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/python/magnum/test/test_text_gl.py b/src/python/magnum/test/test_text_gl.py index f8d9288..29d44c0 100644 --- a/src/python/magnum/test/test_text_gl.py +++ b/src/python/magnum/test/test_text_gl.py @@ -32,6 +32,7 @@ import unittest from . import GLTestCase, setUpModule from corrade import pluginmanager +import magnum from magnum import * from magnum import gl, text @@ -61,6 +62,7 @@ class DistanceFieldGlyphCache(GLTestCase): self.assertEqual(cache.padding, (2, 2)) class Renderer2D(GLTestCase): + @unittest.skipIf(magnum.TARGET_GLES2, "Needs OES_mapbuffer on ES2 and extension queries are not exposed to Python yet") def test(self): font = text.FontManager().load_and_instantiate('StbTrueTypeFont') font.open_file(os.path.join(os.path.dirname(__file__), 'Oxygen.ttf'), 16.0)