mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Print debug info when ctest2travis indexes run out of sync
This commit is contained in:
parent
05e8928e30
commit
e8177b733f
@ -45,8 +45,17 @@ def start_fold(tag):
|
||||
|
||||
|
||||
def end_fold():
|
||||
try:
|
||||
tag = fold_stack.pop()
|
||||
sys.stdout.write('travis_fold:end:{}\n'.format(tag))
|
||||
except IndexError:
|
||||
updated_line = colored("======================", 'magenta')
|
||||
updated_line += colored("ctest2travis error when processing the following line:", 'magenta')
|
||||
updated_line += colored("----------------------", 'magenta')
|
||||
updated_line += colored(updated_line, 'magenta')
|
||||
updated_line += colored("----------------------", 'magenta')
|
||||
updated_line += colored("Tried to end fold, but fold was never started.", 'magenta')
|
||||
updated_line += colored("======================", 'magenta')
|
||||
|
||||
|
||||
test_count = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user