aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/generate_lava.py
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2019-12-13 10:20:23 +0100
committerTomeu Vizoso <[email protected]>2020-01-06 14:27:36 +0100
commitd62dd8b0cb7f74ec43fac6f59c42178f4cf08c54 (patch)
tree8fb247c9dd579ebb53737fe2e27a2cf6ea778d28 /.gitlab-ci/generate_lava.py
parentf5c2807ff280c77081b1af8161582f99893c6404 (diff)
gitlab-ci: Switch LAVA jobs to use shared dEQP runner
Take one step towards sharing code between the LAVA and non-LAVA jobs, with the goals of reducing maintenance burden and use of computational resources. The env var DEQP_NO_SAVE_RESULTS allows us to skip the procesing of the XML result files, which can take a long time and is not useful in the LAVA case as we are not uploading artifacts anywhere at the moment. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to '.gitlab-ci/generate_lava.py')
-rwxr-xr-x.gitlab-ci/generate_lava.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci/generate_lava.py b/.gitlab-ci/generate_lava.py
index b2c8c296beb..46bc2e1f5c8 100755
--- a/.gitlab-ci/generate_lava.py
+++ b/.gitlab-ci/generate_lava.py
@@ -70,6 +70,9 @@ for device_type in args.device_types:
values['boot_method'] = device_types[device_type]['boot_method']
values['kernel_image_type'] = device_types[device_type]['kernel_image_type']
values['tags'] = device_types[device_type]['tags']
+ values['fails_file'] = 'deqp-%s-fails.txt' % device_types[device_type]['gpu_version']
+ values['skips_file'] = 'deqp-%s-skips.txt' % device_types[device_type]['gpu_version']
+ values['deqp_version'] = 'gles2'
f = open('results/lava-deqp-%s.yml' % device_type, "w")
f.write(template.render(values))