This makes the behavior of the Subtests class more the TestDict class, and fixes a bug in MultiShaderRunner, which will be added in a subsequent patch in this series.
Signed-off-by: Dylan Baker <[email protected]> --- framework/results.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/results.py b/framework/results.py index 2095d90..756d261 100644 --- a/framework/results.py +++ b/framework/results.py @@ -47,13 +47,13 @@ class Subtests(collections.MutableMapping): self.update(dict_) def __setitem__(self, name, value): - self.__container[name] = status.status_lookup(value) + self.__container[name.lower()] = status.status_lookup(value) def __getitem__(self, name): - return self.__container[name] + return self.__container[name.lower()] def __delitem__(self, name): - del self.__container[name] + del self.__container[name.lower()] def __iter__(self): return iter(self.__container) -- git-series 0.8.10 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
