diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6993d5ae1a..30f2750751 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,6 @@ variables: COMMON_MESON_FLAGS: "--fatal-meson-warnings --werror" MESON_TEST_TIMEOUT_MULTIPLIER: 2 G_MESSAGES_DEBUG: "all" - CCACHE_DISABLE: "true" .only-default: only: diff --git a/.gitlab-ci/meson-html-report.py b/.gitlab-ci/meson-html-report.py index ef895a948a..f0bb35728b 100755 --- a/.gitlab-ci/meson-html-report.py +++ b/.gitlab-ci/meson-html-report.py @@ -138,22 +138,25 @@ ul.images li {
-

{{ report.project_name }} :: Test Reports

-
-

Branch: {{ report.branch_name }}

-

Date:

- {% if report.job_id %}

Job ID: {{ report.job_id }}

{% endif %} -
+

{{ report.project_name }}/{{ report.branch_name }} :: Test Reports

+
+
+

Branch: {{ report.branch_name }}

+

Date:

+ {% if report.job_id %}

Job ID: {{ report.job_id }}

{% endif %} +
+
+

Summary

@@ -164,54 +167,14 @@ ul.images li {

Suite: {{ suite_result.suite_name }}

-
-

Passed

- - -

Skipped

- - -

Expected failures

- -
-
-

Failed

+

Failures

-

Timed out

+

Timed out

+
+

Skipped

+ + +

Passed

+ + +

Expected failures

+ +
+ {% endfor %} @@ -328,7 +331,7 @@ for name, units in suites.items(): print('Processing {} suite {}:'.format(project_name, suite_name)) def if_failed(unit): - if unit['result'] in ['FAIL', 'TIMEOUT']: + if unit['result'] in ['FAIL', 'UNEXPECTEDPASS', 'TIMEOUT']: return True return False diff --git a/.gitlab-ci/meson-junit-report.py b/.gitlab-ci/meson-junit-report.py index 248ef6e2b1..f63c82eb36 100755 --- a/.gitlab-ci/meson-junit-report.py +++ b/.gitlab-ci/meson-junit-report.py @@ -51,6 +51,7 @@ for line in args.infile: duration = data['duration'] return_code = data['returncode'] + result = data['result'] log = data['stdout'] unit = { @@ -58,6 +59,7 @@ for line in args.infile: 'name': unit_name, 'duration': duration, 'returncode': return_code, + 'result': result, 'stdout': log, } @@ -68,12 +70,12 @@ for name, units in suites.items(): print('Processing suite {} (units: {})'.format(name, len(units))) def if_failed(unit): - if unit['returncode'] != 0: + if unit['result'] in ['FAIL', 'UNEXPECTEDPASS', 'TIMEOUT']: return True return False def if_succeded(unit): - if unit['returncode'] == 0: + if unit['result'] in ['OK', 'EXPECTEDFAIL', 'SKIP']: return True return False