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



commit 8a738806103d69ac371c60e07e3d058fa2760c07
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]