ソースを参照

tests: Skip GLSL test expecting drivers to fail preproc check

rdb 1 週間 前
コミット
c6f10dc6e8
1 ファイル変更3 行追加0 行削除
  1. 3 0
      tests/display/test_glsl_shader.py

+ 3 - 0
tests/display/test_glsl_shader.py

@@ -26,6 +26,9 @@ def test_glsl_test_fail(env):
 def test_glsl_preproc_error(env):
     "Make sure that preprocessor errors result in failed compilation."
 
+    if env.name == "gl-legacy":
+        pytest.skip("preprocessor tests for driver compiler are unreliable")
+
     preamble = """
     #error THIS IS EXPECTED TO ERROR
     """