[gtk/report-fixes: 6/6] fixup! ci: Unexpected passes are failures



commit 223908661175b793e9aa6b21c0cfdeb1a1fd1382
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Feb 13 14:10:27 2020 +0000

    fixup! ci: Unexpected passes are failures

 .gitlab-ci/meson-html-report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/meson-html-report.py b/.gitlab-ci/meson-html-report.py
index 24e7d22701..a7bb16a89b 100755
--- a/.gitlab-ci/meson-html-report.py
+++ b/.gitlab-ci/meson-html-report.py
@@ -214,7 +214,7 @@ ul.images li {
         <div class="failures">
           <h4><a name="failed">Failed</a></h4>
           <ul class="failed">
-            {% for failure in suite_result.failures if failure.result == 'FAIL' %}
+            {% for failure in suite_result.failures if failure.result in [ 'FAIL', 'UNEXPECTEDPASS' ] %}
             <li><a name="{{ failure.name }}">{{ failure.name }}</a> - result: <span class="result fail">{{ 
failure.result }}</span><br/>
               {% if failure.stdout %}
               Output: <pre>{{ failure.stdout }}</pre>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]