[Piglit] [PATCH] quick_shader: Do not exclude tests in sanity profile.
Rafael Antognolli
rafael.antognolli at intel.com
Wed Oct 3 17:51:28 UTC 2018
We randomly exclude 80% of the 'arb_vertex_attrib_64bit/execution/vs_in'
tests, but we want to keep at least the ones present in the sanity
profile. This makes the 'quick' and 'gpu' profiles a superset of the
'sanity' profile.
---
tests/quick_shader.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/quick_shader.py b/tests/quick_shader.py
index f1bda6545..dd8853cde 100644
--- a/tests/quick_shader.py
+++ b/tests/quick_shader.py
@@ -26,6 +26,7 @@ import random
from framework import grouptools
from .shader import profile as _profile
+from .sanity import profile as _sanity
__all__ = ['profile']
@@ -42,6 +43,8 @@ class FilterVsIn(object):
def __call__(self, name, _):
if 'vs_in' in grouptools.split(name):
+ if name in _sanity.test_list:
+ return True
# 20%
return self.random.random() <= .2
return True
--
2.17.1
More information about the Piglit
mailing list