piglit fails with TypeError in Intel Mesa CI
Beginning with 1fc96325, piglit crashes in the Intel CI:
piglit run -o -p gbm -b junit --junit_suffix .tglm64 --config /sources/piglit-test//tgl.conf --jobs 8 --timeout 120 -x fp64 -x dvec -x dmat -c target_suite /tmp/build_root/m64/test/tgl
Traceback (most recent call last):
File "/tmp/build_root/m64/bin/piglit", line 170, in <module>
main()
File "/tmp/build_root/m64/bin/piglit", line 166, in main
sys.exit(runner(args))
File "/tmp/build_root/m64/lib/piglit/framework/exceptions.py", line 49, in _inner
return func(*args, **kwargs)
File "/tmp/build_root/m64/lib/piglit/framework/programs/run.py", line 303, in run
args = _run_parser(input_)
File "/tmp/build_root/m64/lib/piglit/framework/programs/run.py", line 99, in _run_parser
unparsed = parsers.parse_config(input_)[1]
File "/tmp/build_root/m64/lib/piglit/framework/programs/parsers.py", line 64, in parse_config
core.get_config(parsed.config_file)
File "/tmp/build_root/m64/lib/piglit/framework/core.py", line 97, in get_config
PIGLIT_CONFIG.read_file(open(arg))