[gtk/wip/otte/for-main] CI: Include reftest nodes in artifacts
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-main] CI: Include reftest nodes in artifacts
- Date: Wed, 18 May 2022 17:14:26 +0000 (UTC)
commit 1903da4d6d9561a5735045de217e05b786987781
Author: Benjamin Otte <otte redhat com>
Date: Wed May 18 19:13:39 2022 +0200
CI: Include reftest nodes in artifacts
.gitlab-ci/meson-html-report.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/.gitlab-ci/meson-html-report.py b/.gitlab-ci/meson-html-report.py
index dd1f5666d3..7542a050f5 100755
--- a/.gitlab-ci/meson-html-report.py
+++ b/.gitlab-ci/meson-html-report.py
@@ -185,6 +185,8 @@ ul.images li {
<li><img alt="ref" src="{{ failure.image_data.ref }}" /></li>
<li><img alt="out" src="{{ failure.image_data.out }}" /></li>
<li><img alt="diff" src="{{ failure.image_data.diff }}" /></li>
+ <li><a href="{{ failure.image_data.refnode }}">ref node</a></li>
+ <li><a href="{{ failure.image_data.outnode }}">out node</a></li>
</ul>
{% endif %}
</li>
@@ -220,6 +222,8 @@ ul.images li {
<li><img alt="ref" src="{{ success.image_data.ref }}" /></li>
<li><img alt="out" src="{{ success.image_data.out }}" /></li>
<li><img alt="diff" src="{{ success.image_data.diff }}" /></li>
+ <li><a href="{{ success.image_data.refnode }}">ref node</a></li>
+ <li><a href="{{ success.image_data.outnode }}">out node</a></li>
</ul>
{% endif %}
</li>
@@ -311,6 +315,8 @@ for line in args.infile:
image_data = {
'ref': os.path.join(args.reftest_output_dir, '{}.ref.png'.format(basename)),
'out': os.path.join(args.reftest_output_dir, '{}.out.png'.format(basename)),
+ 'refnode': os.path.join(args.reftest_output_dir, '{}.ref.node'.format(basename)),
+ 'outnode': os.path.join(args.reftest_output_dir, '{}.out.node'.format(basename)),
'diff': os.path.join(args.reftest_output_dir, '{}.diff.png'.format(basename)),
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]