diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-09-01 12:01:09 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-09-09 13:32:40 -0700 |
commit | 6f57ca7e391e67efe716ddbe42b13932114d5899 (patch) | |
tree | ef2f3d478f59e48eee5abd1dd9668dc10c8634fb /unittests | |
parent | 8a3b297a30dafb6aa9124f3a9095a99523f02887 (diff) |
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 <dylanx.c.baker@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/framework/backends/shared.py | 7 |
1 files changed, 5 insertions, 2 deletions
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 |