From 6f57ca7e391e67efe716ddbe42b13932114d5899 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 1 Sep 2016 12:01:09 -0700 Subject: unittests: Fix shared data for backends. 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 --- unittests/framework/backends/shared.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'unittests') diff --git a/unittests/framework/backends/shared.py b/unittests/framework/backends/shared.py index eeffe76cb..dd90fc25d 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 -- cgit v1.2.3