Skip to content

Commit ac752f1

Browse files
authored
Merge pull request #3529 from vkarak/bugfix/xfail-numbering
[bugfix] Fix progress numbering for XFAIL/XPASS tests
2 parents 2d1a71b + 344b6a5 commit ac752f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reframe/frontend/printer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def status(self, status, message='', just=None, level=logging.INFO):
7070
status = color.colorize(status, color.GREEN)
7171

7272
final_msg = f'[ {status} ] '
73-
if status_stripped in ('ABORT', 'OK', 'SKIP', 'FAIL'):
73+
if status_stripped in {'ABORT', 'OK', 'SKIP', 'FAIL', 'XFAIL',
74+
'XPASS', 'ERROR'}:
7475
if self._progress_count < self._progress_total:
7576
self._progress_count += 1
7677

0 commit comments

Comments
 (0)