[Piglit] [PATCH] unittests: Fix shared data for backends.
Dylan Baker
dylan at pnwbakers.com
Fri Aug 26 18:31:08 UTC 2016
It turns out that the backends coincidently put certain fields in, but
the new jsonstreams backend does not automatically add these fields, it
must be passed them. (This is the behavior of piglit when not testing).
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
unittests/framework/backends/shared.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/unittests/framework/backends/shared.py b/unittests/framework/backends/shared.py
index eeffe76..2baa252 100644
--- a/unittests/framework/backends/shared.py
+++ b/unittests/framework/backends/shared.py
@@ -33,6 +33,9 @@ INITIAL_METADATA = {
'test_count': 0,
'env': {},
'options': dict(OPTIONS),
+ 'clinfo': None,
+ 'glxinfo': None,
+ 'wglinfo': None,
}
# This is current JSON data, in raw form with only the minimum required
--
2.9.3
More information about the Piglit
mailing list