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



commit 0ad804071ccf04123c2123dbece9cc3c3a0aece0
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Feb 13 13:54:22 2020 +0000

    ci: Unexpected passes are failures
    
    List them as such in our reports.

 .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 4ba5fceadf..24e7d22701 100755
--- a/.gitlab-ci/meson-html-report.py
+++ b/.gitlab-ci/meson-html-report.py
@@ -331,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
 


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