python/tests: Run trhough tests randomly.
[mesa.git] / progs / gallium / python / tests / base.py
index 6296eb5850494ecb53e77513323132d8e4f3cfe6..8c55e3ae5d5e7d712ec15a52567001b9c990600e 100755 (executable)
@@ -43,7 +43,7 @@ from gallium import *
 # Enumerate all pixel formats
 formats = {}
 for name, value in globals().items():
-    if name.startswith("PIPE_FORMAT_") and isinstance(value, int) and name != "PIPE_FORMAT_COUNT":
+    if name.startswith("PIPE_FORMAT_") and isinstance(value, int) and name not in ("PIPE_FORMAT_NONE", "PIPE_FORMAT_COUNT"):
         formats[value] = name
 
 def make_image(width, height, rgba):