Created attachment 142081 [details]
Test list I'm trying to test
I tried to simulate (dry-run) a test using the runner/igt_runner but the
result.json created fails to be parsed by piglit. The test list is in the
attachment in case it's needed.
Steps to reproduce the error:
$ <path_to_igt>/build/runner/igt_runner -d --test-list test_list
<path_to_igt>/build/tests <output_dir>
$ cd <output_dir>
$ mkdir res
$ piglist summary html res/ result.json
I get the following error:
Traceback (most recent call last):
File "/usr/bin/piglit", line 178, in <module>
main()
File "/usr/bin/piglit", line 174, in main
sys.exit(runner(args))
File "/usr/lib/x86_64-linux-gnu/piglit/framework/exceptions.py", line 51, in
_inner
func(*args, **kwargs)
File "/usr/lib/x86_64-linux-gnu/piglit/framework/programs/summary.py", line
119, in html
summary.html(args.resultsFiles, args.summaryDir, args.exclude_details)
File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py", line 178,
in html
_make_testrun_info(results, destination, exclude)
File "/usr/lib/x86_64-linux-gnu/piglit/framework/summary/html_.py", line 99,
in _make_testrun_info
totals=each.totals['root'],
KeyError: 'root'