Does this change the set of tests in the profile? I think it will since we'll end up calling self.random.random() a different number of times.
Quoting Rafael Antognolli (2018-10-03 10:51:28) > 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 > > _______________________________________________ > Piglit mailing list > Piglit@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/piglit
signature.asc
Description: signature
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit