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 <[email protected]>
---
 unittests/framework/backends/shared.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/unittests/framework/backends/shared.py 
b/unittests/framework/backends/shared.py
index eeffe76..dd90fc2 100644
--- a/unittests/framework/backends/shared.py
+++ b/unittests/framework/backends/shared.py
@@ -30,9 +30,12 @@ from framework.options import OPTIONS
 
 INITIAL_METADATA = {
     'name': 'name',
-    'test_count': 0,
-    'env': {},
     'options': dict(OPTIONS),
+    'clinfo': None,
+    'glxinfo': None,
+    'wglinfo': None,
+    'lspci': None,
+    'uname': None,
 }
 
 # This is current JSON data, in raw form with only the minimum required
-- 
git-series 0.8.10
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to